xpresso and decimal places (unwanted rounding)

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  02 February 2013
xpresso and decimal places (unwanted rounding)

Hi there,
I'm wanting to create a long, changing string of numbers to feed into a motext object.
Currently I'm trying to generate an irrational number in xpresso, but the formula node always seems to round to 3 decimal places.
Any thoughts?
  02 February 2013
i haven't tested it specifically for your case, but the rounding should be only a visual
help. internally the the values are being stored as without being rounded, so you can
still read them.
  02 February 2013
Pass the number as a String into your MoText Object.

  02 February 2013
I'm sure internally it's calculating further than that, but I can't find a way to access that.
There's no options that I can find to define the number of decimal places output by the formula node - by default it seems to be only to three places .
  02 February 2013
Thanks Douwe, I think I can read the small python print in your example
  02 February 2013
Originally Posted by Greasemonkey: Thanks Douwe, I think I can read the small python print in your example

Ye. The Imagehost did some shrinking to that screenshot. Here's the original.

But you get the idea.
There's multiple ways to get a String into the MoText.
You can also work Strings with a Math Node.
  02 February 2013
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 07:55 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.