| | Another stupid part-authoring question (Primo?!?)
|
|
Okay, I'm probably the only one here who really cares about Duplo parts (with the possible exception of Paul Easter). But I figure that some folks at least will appreciate having these added to the parts library. As part of modeling Duplo, I'm also (...) (23 years ago, 27-Feb-02, to lugnet.cad.dev)
|
|
| | Re: Inline POV-Ray code?
|
|
(...) OK. I'll write up a spec/reference page on 0 IFDEF. It will include the following metacommands: 0 IFDEF <code> 0 IFNDEF <code> 0 ELSE 0 ENDIF Should there be a 0 ELSEIFDEF and/or 0 ELSEIFNDEF? (...) Steve (23 years ago, 27-Feb-02, to lugnet.cad.dev, lugnet.cad.ray)
|
|
| | Re: DirectX and .dat
|
|
(...) You're probably running into trouble with the random polygon winding direction in most of the LDRAW parts. This causes problems with lighting and culling since the normals often point into the part rather than out of it. In opengl you can (...) (23 years ago, 27-Feb-02, to lugnet.cad.dev)
|
|
| | Re: DirectX and .dat
|
|
(...) Of course you will have to convert this to a unit vector, by dividing each of the conponents by the length of the resulting vector. (23 years ago, 27-Feb-02, to lugnet.cad.dev)
|
|
| | Re: DirectX and .dat
|
|
(...) It sounds like you need help finding the normal vector so that Direct X will prperly shade the triangle. you can find the normal vector for the vertex by calculating the cross product of two vectors taken from two sides of the triangle. I (...) (23 years ago, 27-Feb-02, to lugnet.cad.dev)
|