Hey! raylib forum is closing!

After a year with not much movement in the forum I decided to close it.

The cost of maintaining the hosting is a bit high for the usage of the platform, updating the forum and managing it is also a bit cumbersome and the truth is that I'm already trying to maintain multiple other networks pretty more active than this forum.

I'll recommend you to move to the other raylib networks:

- For a forum style, use Reddit: https://www.reddit.com/r/raylib/
- For direct messaging and questions, use Discord: https://discord.gg/VkzNHUE
- To report issues, use GitHub: https://github.com/raysan5/raylib

- Also, remember you can contact me personally on Twitter: https://twitter.com/raysan5 or directly by mail to ray[at]raylib.com

If you feel generous, you can also contribute to the project on my Patreon: https://www.patreon.com/raylib

Thanks to you all for joining the project and help to improve it with your questions. Keep it up! :)

Best Regards,

Ray

PD. Closing will be effective by October 31th.

RayLib and Blender Models

I have had success with LoadModelFromMesh(GenMeshCube...) but am now attempting to make some models in Blender and use them. I made some stairs in Blender and exporting to an .obj file but only one triangle of each face was rendering in my code. So i went backward and started with a basic cube and exported to an .obj file. Again, I am able to load it with success but when rendered, only a triangle of each cube face renders. Anyone have any insight?

Comments

  • Some noted differences between my .obj and the examples tower.obj:

    my .obj contains references to a .mtl file and tower.obj does not.
    my.obj contains no texture vertices and tower.obj does.
    faces in my .obj contain no middle number: ex. '2//5'.

    I suppose that I am not exporting the proper data config from Blender. Perhaps I will play more with exporting from the enigma of Blender to try to get an .obj that is similar to tower.obj with a .png texture that is appropriately mapped. Still not sure why only one of two tris which make a cube face is rendering with no texture set.
  • You should triangulate model on OBJ export.
  • Yes, thanks, that seemed to work. Got stairway rendered. I was experiencing some 'clipping' of sides but I assume this is because I made the model exactly 1.0000f^3 which is the size of all of my textured cubes as I draw. Scaling down slightly in blender seemed to solve that. Next I will try to texture. Thanks again. :)
Sign In or Register to comment.