Thu, Oct 3, 2:29 PM CDT

Renderosity Forums / Freestuff



Welcome to the Freestuff Forum

Forum Moderators: wheatpenny, RedPhantom, Deenamic Forum Coordinators: Anim8dtoon

Freestuff F.A.Q (Last Updated: 2024 Oct 01 6:00 pm)

Welcome to the Freestuff Forum. The Freestuff Forum is intended for all  freestuff related postings within our community. This is a highlight area where our membership is invited to review, announce and give feedback in greater detail on various freestuff items offered.  Members can also post wishes of freestuff items they would like to see.

 

Notice: Links to offsite 'For Sale' items will be removed

Renderosity Free Stuff Area

Free Stuff Gallery

Free Stuff Guidelines

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: Proof Of Principle - Poser ERC Opening Book


3dcheapskate ( ) posted Tue, 17 May 2022 at 2:54 AM · edited Thu, 03 October 2024 at 2:25 PM

This is the supporting topic for my "Proof Of Principle - Poser ERC Opening Book" freebie in the Renderosity Free Stuff.

The opening book was originally created around three years ago as part of my books project in the Smith Micro Poser forum and posted to ShareCG to test the viability of doing moderately complex maths using just valueOp parameters. 

Please feel free to post comments (good or bad*), suggestions for improvement, and/or questions about this freebie here.

Link to item in Renderosity Free Stuff: Proof Of Principle - Poser ERC Opening Book

Alternative link to item at ShareCG: Proof Of Principle - Poser ERC Opening Book

ERC-Opening-BookTest-01b-img-1---800-to-1200-wide.jpg


Since the Smith Micro Poser forum vanished a couple of years ago all that background information has gone, although I'm fairly sure that I have backups of it somewhere. I did create parallel topics for my books project on a few other forums, but they each contain far less information and nothing specifically related to this opening book test. I'll include links here for completeness.

My rather infrequent, and possibly apocryphal, 'books project'. on the Hivewire3D 3D Content Development forum
Books For Those Empty Virtual Bookshelves on the DAZ Freebies forum

* if bad then constructive criticism is preferred :)


The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident.
And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU.

*also available in ShareCG, DAZ, and HiveWire3D flavours (the DeviantArt and CGBytes flavour have been discontinued).



3dcheapskate ( ) posted Tue, 17 May 2022 at 3:09 AM

This is the maths involved.

9ZNn6uULbZr1DoWouKJjeQXHrUPzIEbkvM9zDZEY.jpg


That's mostly trigonometry so I had to get creative to do it in valueOps.

I ended up using Bhaskara I's sine approximation to get the sines and cosines using just +, -, ×, and ÷ operators, and I used a key/value lookup table for the arctangent


The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident.
And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU.

*also available in ShareCG, DAZ, and HiveWire3D flavours (the DeviantArt and CGBytes flavour have been discontinued).



3dcheapskate ( ) posted Tue, 17 May 2022 at 3:13 AM · edited Tue, 17 May 2022 at 3:14 AM

This was the next step from that scribbled concept - coding it into the valueOps within a CR2.

The most difficult thing was coming up for meaningful but short names for each valueParm.

And editing the CR2 without errors (I did it all manually). That was the most difficult thing too.

FgDdn4wCqZTxZJ01UQK39MkjXVCEtozY8XDXrCke.jpg


The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident.
And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU.

*also available in ShareCG, DAZ, and HiveWire3D flavours (the DeviantArt and CGBytes flavour have been discontinued).



3dcheapskate ( ) posted Tue, 17 May 2022 at 3:15 AM

Here's an example of a complete valueParm statement explaining how I'm coding my maths into these things.

H5wmfRngoVeP5HA81Iy4NMWvTt8pbIQlA4mMxrtH.jpg


The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident.
And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU.

*also available in ShareCG, DAZ, and HiveWire3D flavours (the DeviantArt and CGBytes flavour have been discontinued).



3dcheapskate ( ) posted Tue, 17 May 2022 at 3:21 AM · edited Tue, 17 May 2022 at 3:21 AM

This is the last additional picture I attached to the original ShareCG upload.

It shows how the zRotate of each of the bones making up the book is determined from the valueParms.

cZS2uB885P1xWDCkO2jb6ONFwZhpR9VKmWHlbwgr.jpg


The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident.
And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU.

*also available in ShareCG, DAZ, and HiveWire3D flavours (the DeviantArt and CGBytes flavour have been discontinued).



3dcheapskate ( ) posted Tue, 17 May 2022 at 3:56 AM · edited Tue, 17 May 2022 at 3:57 AM

One key point to note is that the BackJoint and Spine bodyparts are not physically connected - it is just the maths that keeps them together. In my early attempts it kept breaking apart because I'd made mistakes in the maths !

If you look at the Hierarchy Editor you'll see that the Book bodypart (which has no physical mesh attached to it - it's just a dummy) has three direct children: PageBlock4; BackCover; and BackJoint. The rest of the PageBlocks, the FrontCover, FrontJoint, and Spine are in a chain under PageBlock4

szKYOzV1M9uXAzbZmcfbgGYJEqHTUTCldH9PUnjv.jpg


(I'm not sure why the FrontCover bone doesn't show up in the image above - I think it's similar to the BackCover bone)


This shows in principle how it's possible, using just valueOps, to create a skeleton where the last bone joins back to the first, i.e. a loop. Of course this example only has one degree of freedom, zRotation, and 2 or 3 degrees of freedom would make it far more complex. But in principle it's possible.


The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident.
And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU.

*also available in ShareCG, DAZ, and HiveWire3D flavours (the DeviantArt and CGBytes flavour have been discontinued).



3dcheapskate ( ) posted Tue, 17 May 2022 at 6:04 AM

(I also played with the idea of doing trigonometry with valueOps for a millipede's legs )


The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident.
And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU.

*also available in ShareCG, DAZ, and HiveWire3D flavours (the DeviantArt and CGBytes flavour have been discontinued).



3dcheapskate ( ) posted Tue, 17 May 2022 at 7:13 AM

I've just realized that the backup in which I found the OBJ that was missing from the original ShareCG upload also contained a slightly later version of this which had a spine that bends too. 

I've uploaded that to my HiveWire3D book stuff topic, post #53.

There's also a short video of the book opening on my Youtube channel Proof of principle - Poser ERC opening book - YouTube



The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident.
And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU.

*also available in ShareCG, DAZ, and HiveWire3D flavours (the DeviantArt and CGBytes flavour have been discontinued).



ThunderStone ( ) posted Tue, 17 May 2022 at 10:35 AM

Thanks for sharing. I have returned to poser after 3 years of computer downtime…


===========================================================

OS: Windows 11 64-bit
Poser: Poser 11.3 ...... Units: inches or meters depends on mood
Bryce: Bryce Pro 7.1.074
Image Editing: Corel Paintshop Pro
Renderer: Superfly, Firefly

9/11/2001: Never forget...

Smiles are contagious... Pass it on!

Today is the tomorrow you worried about yesterday

 


3dcheapskate ( ) posted Mon, 06 June 2022 at 8:10 AM · edited Mon, 06 June 2022 at 8:12 AM

That's a long time to be without a computer !

Something I forgot to mention - the trig functions were down using valueOpKey lookup tables which I calculated in a spreadsheet.

For the sine and cosine I found 5 degree steps from 0 to 180 were enough (interpolation is linear).

For the arcsine and arctangent I arranged the key/value pairs so that the keys would give values of 1, 2, 3, 4, etc through to 87, 88, and 89 (and 90 for arcsine) - I stopped at 89 for arctangent because tangent(a) tends to infinity as a tends to 90.

mwq9D0d3dndpk5aexnz8GC2Dg9Vp5FrvrkCv45gP.jpg


For other projects different ranges and/or step sizes may be required.


The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident.
And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU.

*also available in ShareCG, DAZ, and HiveWire3D flavours (the DeviantArt and CGBytes flavour have been discontinued).



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.