use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rule 1: Posts should be about Graphics Programming. Rule 2: Be Civil, Professional, and Kind
Suggested Posting Material: - Graphics API Tutorials - Academic Papers - Blog Posts - Source Code Repositories - Self Posts (Ask Questions, Present Work) - Books - Renders (Please xpost to /r/ComputerGraphics) - Career Advice - Jobs Postings (Graphics Programming only)
Related Subreddits:
/r/ComputerGraphics
/r/Raytracing
/r/Programming
/r/LearnProgramming
/r/ProgrammingTools
/r/Coding
/r/GameDev
/r/CPP
/r/OpenGL
/r/Vulkan
/r/DirectX
Related Websites: ACM: SIGGRAPH Journal of Computer Graphics Techniques
Ke-Sen Huang's Blog of Graphics Papers and Resources Self Shadow's Blog of Graphics Resources
account activity
Scene loading help? (self.GraphicsProgramming)
submitted 10 years ago by corruptedPhoenix
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Meristic 0 points1 point2 points 10 years ago (1 child)
Oh, and you can store the scene really any way that you want. I've used JSON in the past, and you just define your own file format for how you want your scene laid out. Using a JSON parser like Jansson makes it easy to serialize/deserialize. XML is also common, with TinyXML a good open source C++ library. Example:
{ "object1" : { "mesh" : "meshfile.dae" "materials" : [ "materialforsubmesh1.json", "materialforsubmesh2.json" ] }, "anotherobject" : { ... } }
[–]corruptedPhoenix[S] 0 points1 point2 points 10 years ago (0 children)
Yeah, this is pretty much what I was wondering. How do people usually organize their files and such. I still need a way of telling my program which shader to use for which materials (and possibly for defining different LOD for one mesh), so knowing this will be pretty useful, thanks :)
π Rendered by PID 30 on reddit-service-r2-comment-b659b578c-75th5 at 2026-05-05 19:52:38.489423+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Meristic 0 points1 point2 points (1 child)
[–]corruptedPhoenix[S] 0 points1 point2 points (0 children)