| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 240 online users. » 0 Member(s) | 237 Guest(s) Baidu, Bing, Google
|
|
|
| Rotation matrix |
|
Posted by: Michael Horvath - 2020-02-23, 9:28 - Forum: LDraw File Processing and Conversion
- Replies (6)
|
 |
How do I calculate the cumulative sum or total of transformation matrices passed down from parent to child to grandchild, etc.?
The docs say:
Quote:Formally, the transformed point (u', v', w') can be calculated from point (u, v, w) as follows:
u' = a*u + b*v + c*w + x
v' = d*u + e*v + f*w + y
w' = g*u + h*v + i*w + z
but they do not say what a', b', c', d', etc. are. I am not very good with matrices, thanks!
|
|
|
| Cannot run the POV for the file from LDRAW |
|
Posted by: jass - 2020-02-21, 9:06 - Forum: Rendering Techniques
- Replies (1)
|
 |
I updated the new LDRAW ALL IN version. There is no problem in the modeling by MLCAD. But when I run the POV file exported from LDRAW, the wrong message is as below.
I checked the before POV file made by old LDRAW ALL IN version, there is no problem. I don't know if there is any option need to setup. Thanks a lot.
Parse Error: No matching } in ‘texture’, undeclared identifier 'lg_gold_chrome' found instead
#ifndef (LDXColor334) // Chrome Gold
#declare LDXColor334 = #if (version >= 3.1) material { #end
texture {
lg_gold_chrome
}
#if (version >= 3.1) } #end
#declare LDXColor334_slope = #if (version >= 3.1) material { #end
texture {
lg_gold_chrome
#if (LDXQual > 1) normal { bumps 0.3 scale 25*0.02 } #end
}
#if (version >= 3.1) } #end
#end
|
|
|
|