|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I have a little problem with grouping. I never run into it till now,
cause i was not in need of it:
long time ago i modelled an object in moray, consisting of csg's and
differences.
Now, i'm working on a new scene and i wanted to import the old object.
So far, it works. But it would be nice to have the old object in a
group, so that i can select it with a single mouse click. I grouped it
(with all the csg's and differences) but pov runs into an error during
parsing, caused of the difference partial object. Can anyone help me?
Version with grouping in Moray
[...]
#declare cube = difference {
superellipsoid { // cube_frame
<0.1, 0.1>
material {
T_Chrome_4A
}
scale 4.4
}
object { // Cube_frame_diff2 -> Cube frame diff1
Cube_frame_diff1
rotate -90.0*z
}
object { Cube_frame_diff1 }
object { // Cube_frame_diff3 -> Cube frame diff1
Cube_frame_diff1
rotate -90.0*y
}
material {
earthmap
}
rotate <-45.0, -35.259998, -10.0>
translate 12.4*z
}
[...]
Version without grouping in Moray
[...]
difference { // cube
superellipsoid { // cube_frame
<0.1, 0.1>
material {
T_Chrome_4A
}
scale 4.4
}
object { // Cube_frame_diff2 -> Cube frame diff1
Cube_frame_diff1
rotate -90.0*z
}
object { Cube_frame_diff1 }
object { // Cube_frame_diff3 -> Cube frame diff1
Cube_frame_diff1
rotate -90.0*y
}
material {
earthmap
}
rotate <-45.0, -35.259998, -10.0>
translate 12.4*z
}
[...]
P.S.: maybe not the right newsgroup, i don't know...
best wishes,
Robert
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi Robert, you recently wrote in moray.win:
> I have a little problem with grouping. I never run into it till now,
> cause i was not in need of it:
What is the error message? Maybe you can send me the MDL file.
- Lutz
email : lut### [at] stmuccom
Web : http://www.stmuc.com/moray
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi Lutz,
the error message is:
File: E:\Programme\Moray For Windows\PovScn\ferrocube_crash.pov Line: 161
}
#declare cube <----ERROR
Parse Error: Expected 'undeclared identifier', cube found instead
Returned from renderer with error status
i had to delete some objects (textures) to make the file smaler, but the
problem remains. So you can try the attached mdl-file.
By the way,
is there coming up a solution with the camera problem? (I'm using moray
3.3a + pov beta10).
many thanks for the quick reply!
best wishes,
Robert
Post a reply to this message
Attachments:
Download 'ferro_crash.zip' (6 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi Robert, you recently wrote in moray.win:
> #declare cube <----ERROR
>
> Parse Error: Expected 'undeclared identifier', cube found instead
>
Wait a second. Isn't cube a reserved word? Try renaming it to mycube
or something and see if that solves it.
- Lutz
email : lut### [at] stmuccom
Web : http://www.stmuc.com/moray
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Many thanks!
I didn't noticed that. Renaming works!!
best wishes,
Robert
Lutz Kretzschmar wrote:
> Hi Robert, you recently wrote in moray.win:
>
>
>>#declare cube <----ERROR
>>
>>Parse Error: Expected 'undeclared identifier', cube found instead
>>
>>
> Wait a second. Isn't cube a reserved word? Try renaming it to mycube
> or something and see if that solves it.
>
> - Lutz
> email : lut### [at] stmuccom
> Web : http://www.stmuc.com/moray
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |