Is there any way to take a cad file and render it in 3D using processing?
Hi @adaptinnovative,
Would you mind providing more details. For example:
- What CAD software are you using and what is the format of your file ?
- If it is proprietary, can you convert it to â.objâ or â.stlâ ?
- Is it a 2D or a 3D file ?
- What do you mean by ârenderâ: display on the screen or create a photo-realistic model ?
- What is your goal ?
- Cad software is AutoCad 2018 .dwg file
- Yes it can be converted to .obj or .stl
- It is a 2D drawing with 3D elevations so you can render it in 3D
- I want to render textures and layering over the surfaces
-My goal is to allow the user to view and traverse the sketch in 3D as the scene is layered with textures and other 3D objects but not from scratch but using the source fill as the baseplate.
To be honest, when you want to learn programming thatâs fine.
When your goal is to see only cad stuff in 3D there should be better tools to accomplish this, maybe some cad viewer or even Blender
@adaptinnovative â Apologies for the late reply.
What you are describing is achievable per se in Processing however, like Chrisir, I wouldnât suggest using it for your project. 2 main reasons:
-
Processing is not meant to do photo-realistic rendering. As far as I know the best renderers for Processing are Thomas Diewaldâs SkyLight and Nacho Cossioâs SimplePBR. But in my opinion using Autocadâs default renderer or third-party rendering engines like Vray or Lumion would be much more appropriate (especially for texture rendering in architecture). As suggested above, Blenderâs Cycle engine is also an excellent (free) alternative.
-
Processing doesnât come with a first person controller and the available libraries for camera control wouldnât be appropriate in your case. Architecture students (and also professionals) usually like to use Unity to move around a 3D scene. It is bundled with a Character Controller component that handles steps, walls and slopes.
Thanks⊠decided to write a renderer.
Hello,
this sounds great!
Can you elaborate please?
Do you plan this or have you already done it?
Do you plan this in processing? Can you post it please?
Thank you!
Chrisir