Trying to render some animations with OpenSCAD 2016.04.06.
For roundtravel of view I use:
$vpr = [70, 0, $t*360];
but this produces some unwanted height changes in outputted frame sequence.
This is the effect: https://www.youtube.com/watch?v=NA3Zcl2nfVA
This is the frames and their sizes:
http://forum.openscad.org/file/n17657/Ani.png
Any idea? Is this a known bug?
--
View this message in context: http://forum.openscad.org/Animation-vpr-tp17657.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
On Jun 13, 2016, at 09:10 AM, Parkinbot rudolf@parkinbot.com wrote:
but this produces some unwanted height changes in outputted frame sequence.
[…]
Any idea? Is this a known bug?
It’s not a known problem.
Can you reproduce this with a trivial example and minimal # of frames?
-Marius
Rudolf,
I think everything works right if you set $vpt = [0,0,h] for any h. If you
don't set $vpt, the z movement depends on the initial $vpt value which may
be changed by interaction. I understand that $vpt is the center of the
rotation set by $vpr.
Ronaldo
--
View this message in context: http://forum.openscad.org/Animation-vpr-tp17657p17661.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
I traced it down. Was somehow homemade. I had a typo when naming colors and
ignored the warnings issued.
This reproduces it. Use >1 timesteps ;-)
if ($t<0.5) color("golden") cube([10, 20, 10]);
You can see in the status line, how the size is jumping.
--
View this message in context: http://forum.openscad.org/Animation-vpr-tp17657p17662.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
So it's actually any warning being issued. This IS a bug!
cube([1,1,1]);
if ($t<0.5)
max(x);
--
View this message in context: http://forum.openscad.org/Animation-vpr-tp17657p17666.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Are you sure? I got "WARNING: Ignoring unknown module 'max'".
2016-06-13 20:34 GMT-03:00 Parkinbot rudolf@parkinbot.com:
So it's actually any warning being issued. This IS a bug!
cube([1,1,1]);
if ($t<0.5)
max(x);
--
View this message in context:
http://forum.openscad.org/Animation-vpr-tp17657p17666.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
As I wrote: any warning issued during animation will change the size of the
frame - by 30 pixels.
max() is a built-in function and should be known. But x is unknown and this
issues a warning.
First I thought it was the $vpr. Found the simple but nasty reason now:
Stacked upon the output window there is a panel shown, that indicates the
warning - and thus alters the frame height.
So its more a feature then a bug. But it should be switched off during
animations.
--
View this message in context: http://forum.openscad.org/Animation-vpr-tp17657p17668.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
On Jun 13, 2016, at 20:57 PM, Parkinbot rudolf@parkinbot.com wrote:
max() is a built-in function and should be known. But x is unknown and this
issues a warning.
Built-in function, which is not syntactically correct to use here. It would need to be a module.
I agree that warnings messages probably shouldn’t eat into the 3D viewport.
Nice catch.
-Marius
You are both perfectly right. I used just something unknown to generate a
warning.
--
View this message in context: http://forum.openscad.org/Animation-vpr-tp17657p17672.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Hitchhiking Rudolf's thread: when I dump pictures with the Animate feature
I get just full black .png images. Any ideas?
2016-06-14 6:46 GMT-03:00 Parkinbot rudolf@parkinbot.com:
You are both perfectly right. I used just something unknown to generate a
warning.
--
View this message in context:
http://forum.openscad.org/Animation-vpr-tp17657p17672.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org