Fri, Nov 8, 8:17 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 08 8:41 am)



Subject: in cr2, why delta files have "e" in them?


elenorcoli ( ) posted Sat, 04 November 2006 at 5:59 PM · edited Fri, 08 November 2024 at 3:30 PM

valueOpDeltaAdd
    Figure 1
    BODY:1
    SuperHero
   deltaAddDelta 1.000000
   indexes 403
   numbDeltas 807
   deltas
    {
    d 1 -3.49991e-005 0 -2.00048e-006     <----see what is that about?
    d 2 -0.000257999 0 0
    d 3 -0.000151999 0 -0.000120997
    d 4 -0.000927001 0 -0.000723001
    d 5 -0.000351999 0 -0.000470001
    d

 

that's a tiny chunk from p4 nude man.  why is it throwing an e in with these numbers?

gracias


akanwa ( ) posted Sat, 04 November 2006 at 6:07 PM

It looks like scientific notation. Saves space over writing the two numbers as -0.0000349991 and -0.00000200048 respectively. Just saves having to write out a lot of zeros for very large or very small numbers.


elenorcoli ( ) posted Sat, 04 November 2006 at 7:51 PM

ahh yes excellent observation


kuroyume0161 ( ) posted Sat, 04 November 2006 at 8:52 PM

Exactly.  That is scientific notation.  It is an acceptable format used by, for instance, C/C++/Java for text-based notation of floating point numbers.  The 'e' stands for 'exponential notation', as in:

-2.000048x10^-006

'e' replaces the (x10^) notation.

C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, you blow your whole leg off.

 -- Bjarne Stroustrup

Contact Me | Kuroyume's DevelopmentZone


bagginsbill ( ) posted Mon, 06 November 2006 at 8:34 AM

Nobody notes the irony that -0.0000349991  and -3.49991e-005 are exactly the same number of characters? Chuckle. I'm a programmer so this is funny to me. Sorry.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


kuroyume0161 ( ) posted Mon, 06 November 2006 at 1:21 PM

So much for saving space, huh? ;)

C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, you blow your whole leg off.

 -- Bjarne Stroustrup

Contact Me | Kuroyume's DevelopmentZone


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.