cignox1Member
Content count2073
Joined
Last visited
Community Reputation735 Good
About cignox1
- RankContributor
OpenGL which model import lib to use?
cignox1 replied to poigwym's topic in Graphics and GPU ProgrammingI've used Assimp several years ago for my pet project (not a game, but a raytracer). I've found it quite powerfull (yet not perfect) and I can only suppose it got better in the latest 5 years. I had a couple of issues with materials: I don't remember the details, but IIRC it was something annoying related to transparency/specularity which prevented me from using a couple of features of my RT. It was designed for real time rendering, though, so maybe those limitations were perfectly fine in such use cases.
[ray-tracer] Banding problems
cignox1 replied to maxest's topic in Graphics and GPU ProgrammingSeems like you are loosing precision somewhere. Be sure all your deltas are in place and that you are using the correct scale for your scene.
making a program, all code in one file
cignox1 replied to lomateron's topic in Graphics and GPU ProgrammingWhich are the advantages of a giant single room apartment over a more traditional one? Sure, you gain some space (no walls), but you loose privacy, rational furnishing, comfort ... Honestly, I don't see any real reason to write a (non trivial) application in a single file (I'm scared by the maintainance nightmare I would eventually address)
Pieces movements through graphs (Java)
cignox1 replied to cignox1's topic in General and Gameplay ProgrammingThank you for the link and the hint: I will certainly look into that bitboards thing to see if it is applicable to my game.
Pieces movements through graphs (Java)
cignox1 posted a topic in General and Gameplay Programming.
What language do I use?
cignox1 replied to SureLockHomes's topic in For BeginnersWell, they could tell you which is the language (mostly) used to build core engines of games such as Crysis and the like. But as already said, that info will not make you a better coder, not will make you write your first games (which is something far more important).
OpenGL OpenGL or DirectX
cignox1 replied to Zuhon's topic in Graphics and GPU ProgrammingIs it possible that he refers to the recent projects of Valve in regards with linux? Valve is currently trying to lead a move of the game industry towards linux, and this means that those developers willing to follow them have to use OGL. Is not yet clear whether or not that shift will happen...
A Song of Ice and Fire, and Dark Tower 4.5
cignox1 replied to taby's topic in GDNet LoungeASOIAF is definitely a must read for anyone interested in fantasy (open minded). I've read it 3 times in italian and 1 time in english and it never ceases to impress me. I've found the last 2 books a bit disappointing (too slow and to many sub plots which really don't add anything to the story) but I guess its a consequence of the change to the initial plan (the year gap that should have occoured before TWOW and filled by Martin with these 2 books). The tv series is well done, but writers did a poor job for many charachters (mostly jon, dany and robb). And then there is Ros, may the Others take her...
Applying texture on a sphere [raytracing]
cignox1 replied to J's topic in Graphics and GPU Programming[quote name='Frénésie' timestamp='1338497298' post='4945085'] I have to specify a couple of vector to define the sphere ? On the 0.x axe and 0.y axe ? And is it on a cartesian reference ? [/quote] I think that you need to define at least the north (and perhaps even the west) vectors, so that rotations applied to the sphere reflect on the texture orientation...
Applying texture on a sphere [raytracing]
cignox1 replied to J's topic in Graphics and GPU ProgrammingI don't have my code at the moment, but I remember that there is a simple addition to the intersection formula that gives u,v parameters of the intersection point. You just have to specify a couple of vectors defining the orientation of te sphere.
How to load a 3d model
cignox1 replied to LiquidLeon's topic in General and Gameplay ProgrammingThe.
Path Tracing BSDF
cignox1 replied to Bacterius's topic in Graphics and GPU ProgrammingI must say that you have indeed beatiful renders, wich would deserve more complex scenes (i.e. Sponza Atrium). If you have troubles with kd-trees and the like, try with something easier: BIH (Bounding interval hierarchy) is not as fast as kd-tree with SAH, but estimates suggest it is 60/70% its speed, so it may help you a lot, and is not so hard to implement (I did it as well, but I would rather not give you my implementation as for some reason it is really slow :-( You can find the paper by googling and the ompf.org forum used to have several threads on that topic, with many implementations discussed (included my own). Now the ompf.org domain no longer points to the forum, but a (temporary?) replacement has been opened. I don't know if those threads have been moved, but if you ask them they will help you. [quote] [color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif][size=3][left]how should I go about simulating subsurface scattering (which is needed for realistic metal materials)[]Honestly this is the first time I hear someone willing to implement SSS for metals (instead than skin, milk or marble) [/left][/size][/font][/color][color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif][size=3][/size][/font][/color][color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif][size=3][left][img][/img][/left][/size][/font][/color] And you could consider buying the "Physically based Raytracing: from theory to implementation": I have the first edition and it is truly amazing. In the second (IIRC) the show how to implement both BVH and SSS. If you are interested in Raytracing/GI you should buy that book. Hope this helps
PHP Class not found error
cignox1 replied to cignox1's topic in General and Gameplay ProgrammingYes, the problem was the namespace. I made it work just a couple of days ago but thank you nonetheless. [quote] [color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif][size=3][left]Haven't really heard of php namespacing myself until not too long ago. Apparently it's biggest benifactor is it saves headaches on large projects with clashing names. Any other benifits to namespacing? []I come from c++/CSharp and Java, so it was natural for me to use namespaces as soon as I learned that they existed in PHP. I suppose that the benefits are the same as they are in other languages: avoiding name clashing and better logical separation among different component of the application.[/left][/size][/font][/color]
PHP Class not found error
cignox1 posted a topic in General and Gameplay ProgrammingHi all, in order to improve my PHP knowledge, I'm trying to build a small framework with the goal to use it to develop my music band site. I layed out a simple configuration class (just a placeholder actually):[php]<?php /* Class to handle all application wide Quarkweb configuration parameters. */ namespace quarkweb; class QWConfiguration { protected static $mClassName = "QWConfiguration"; //By changing this before the configuration is read, an application can force the use of a specified configuration class public function __construct() { //initialize the values } public static function getClassName() { return QWConfiguration::$mClassName; } public static function setClassName($aClassName) { QWConfiguration::$mClassName = $aClassName; } static public function getConfiguration() { $aClassName = QWConfiguration::getClassName(); $aClass = new $aClassName(); return $aClass; } } ?>[/php] The idea is that it should work as a simple factory: the application sets the desidered class name for its own configuration and at the proper time an instance will be created. I've used the dynamic class instancing elsewhere without issues. But I get the following error: [b]Fatal error[/b]: Class 'QWConfiguration' not found in [b]C:\inetpub\wwwroot\quarkweb\core\qwconfiguration.php[/b] on line [b]28[/b] I bet this is one of those errors that any half-experienced PHP programmer will spot in two seconds. Any idea? Thank you!
Java or C++?
cignox1 replied to Robin123's topic in For BeginnersIf you want to target C++, then IMHO you should just decide between Java and C#. Python is nice and easy, but is too different (different syntax, different compilation model ...) Usually this is not a problem at all, but if you want something that simplifies your path toward c++, then C# or Java. And among these two, I would suggest Java: C# is a very beatiful language, but too much bound to Visual Studio: you could miss important steps performed by its features under the hood. I suggest Java (notepad++ + javac at first) and then try NetBeans or Eclipse. Mind you, that's just my opinion: if you pick C# instead that will work nonetheless.