If you have any questions about the tutorials published at Xojo3D.com, or have an idea for a future tutorial that you would like to see, please feel free to post your questions and suggestions.
All the tutorials are now wrapped in a single download, to make it easy for educators to use the tutorials in their classrooms, or for storing the tutorials locally for your own convenience.
Is there support for importing any 3D standard objects? If I could build something in any some other 3D modeling software and convert/import it to draw on the OpenGL surface, that would be cool.
I’ve been working through the tutorials and decided to make my own class that creates the necessary triangles (X3Polygons) for a shape with an unspecified number of vertices. I know that the triangles are being created successfully since I single stepped in the debugger but when I use the code to draw the polygons in a for loop like tutorial 5 (I literally copied the code) nothing is drawn on the screen. Is there a way that I can view errors from during the rendering of my triangles? Thanks
Thank you for spending the vast amount of time to create your great examples and then having them on a website for everyone to try. Your examples are clear and well described.
Yes, there is. I’ve been working on such a tool for the past few months… X3 FileAssist. It converts “to” and “from” (both ways) WaveFront OBJ files. After some research I found that OBJ files seems to be the most common and well supported file type, and thought this would be the best format to add support for first.
X3 FileAssist has been in alpha for a couple of months now. I have one or two minor issues to sort out. I’ll see if I can get a beta build ready for you this evening Brock.
There is also a tool X3 Viewer, that can be used to view X3M files. Will try to get a beta build of this tool ready as well.
Jason, I highly recommend that when you write your 3D applications that you always use the X3 modules from the latest tutorial, currently tutorial 16. With each tutorial the rendering algorithms are improved and optimized.
I’m in the process of setting up a GitHub repository for the “X3 Core XDK”… a cross-platform development kit for 3D written in pure Xojo. This GitHub repository will become the official development trunk for the X3 Xojo 3D engine. Will post a link to the repository as soon as I’ve set it up.
If the rendering code in tutorial 16 doesn’t solve your problem, you can send me your project through a private message if you want, and I’ll have a quick look to see if I can spot the problem. Are you using Windows, OS X or Linux?
Please note that these are the first versions of the tools, so they are still far from feature complete. From my testing some models imports/exports flawlessly, and some still needs some work. The tools should however be able to get anyone started with using basic models in their 3D applications/games.
Here is some screenshots of files imported from Wavefront OBJ files with X3 FileAssist, and then rendered with the libraries that I’ll publish soon on GitHub.