7/12/2023 0 Comments Wings 3d create vertices![]() f connevtivity info what triange/quad go with what postion, texture and normal index.īut to be honest you wont be doing this with the car model you have since it has hundreds of thousands of points.vn are normals (or the angles pointing at), first one has index 1.vt are the texture coordinates, first one has index 1.v are vertex positions, first one has index 1.Then save it as *.obj and then open the thing in a text editor then you would see: # This file uses centimeters as units for non-parametric coordinates. So if we simplify the problem a bit and take a look at a box: In the export options panel on the right, choose either GLB (binary format) or GLTF (text format) as your preferred format. Choose glTF 2.0 (.glb/.gltf) from the list of export formats. That is after all what save does, writes down the positions of each vertex, normal information and connectivuty information to disk. Click File in the top-left corner of the Blender interface, and select Export from the dropdown menu. This would be an amazing experiment and I can't wait to see if and how it's possible! The reason behind my question: I'm trying to extract this data on the vertices so I can create some code that will use this data to recreate the model in a sandbox game such as garry's mod, with every square you see in the wireframe being an entity. ![]() So after laying all the foundations, my end question to you is: Is there any way of extracting the data I've talked about from a piece of 3D Modelling software? If I could extract the data on the position of the edges in the wireframe post rendering that could be even more helpful. I imagine the data for each vertex is held in terms of xyz position vector local to the models origin, alongside an angle local to the models origin, otherwise how can the software form this wireframe? P.s. Somehow, the software must know or calculate all the vertices it uses to make this wireframe. This is a 3D Wireframe, made based on a 3D Model, in blender. Here's an example to help you understand what i'm trying to find: It may sound like a long-winded and confusing question, but I'm not sure how to put it into simpler terms, and seems like something that nobody has talked about or tried to find before? What i'd therefore be looking to do is get the position and angles of every wire in the wireframe, as blender must have a way of mapping the wireframe, based on vertices of the 3D model? Blender is a good example of being able to picture this as it has the wireframe render, whereby you can create a 3D wireframe, around the entire model. Firstly, the type of data i'm trying to extract is every position and angle of every vertex used to form the 3D Model that you see inside the software (in a sense). I know the title might sound a bit confusing but there is method in my madness.
0 Comments
Leave a Reply. |