You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers. No questions about C++ programming or topics which are answered in the tutorials!
Adversus wrote:That's what I do and it works fine.
Although it would be nice to see the source files in the static libs in the project file.
Like you can for a MS Visual Studio solution.
All the source is there. What I do is in addition to pulling in the .a static lib I also pull in all the source. Makes it easier to debug. I'm still hoping for a small change to the driver that makes it easy to go landscape though.
But thanks to the authors for an awesome job porting this!
If you add a project to a solution in Visual C you can see all the sorce files.
In XCode you sort of have to add a project to another "main" project and then it shows on the "solution explorer" it's target (libIrrlicht.a file) and allows you to specify the dependancies. However it doesn't show you it's source files but does allow you to break into them.
It's hard to explain but basically I find visual studio to be faster to work with (somethings XCode does better though) and it VS seems to compile and link much faster as well.
I struggle with Xcode to be honest, I don't want a whole new project for the iPhone stuff but the SDK paths seem to be screwed up and the only way I can get it to link is by creating a new project.
I haven't tried in a while though, maybe I'll play with it some more over the weekend.
Personally I circumvent most of the annoyances of Xcode, and VS, by having it run my external build system which already supports much better multi-platform building. And edit all the files on Windows through a Samba share with a faster/simpler/better editor.
I'm still perplexed as to the horrible state of development environments.
The engine creates the device "correctly" and it enters the run loop and everything (using the hello world sample) altough, the screen renders pure black for me... and i have set my clear color different, drawing text all over, etc. and i still only see a black screen
My suspicions :
a) the lib didnt build correctly (i didnt get any warnings on the GLES side of things)
b) the WindowId is passed incorrectly to the param
c) there is something else wrong
Anyone else see anything like this ? or, how do you setup the window / view properly for irrlicht to render into cos i cant seem to get it to show up (although it does goes through the real render loops internally, etc)
For those following this thread, we finally got this working.
FuzzySpoon (I believe) is preparing a nice starting base project to work from for the community. The current one has a few issues but it is rendering to the screen - as in it's just clearing the screen to tutorial purple (but it's a damn fine purple to see on the ipod\iphone).