Phantom Scatter [1.12.2] Export and press CTRL+V in Octane!

Forums: Phantom Scatter [1.12.2] Export and press CTRL+V in Octane!
Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB

Re: Phantom Scatter | Automatized instancing solution

Postby face_off » Mon Jul 22, 2013 3:09 am

face_off Mon Jul 22, 2013 3:09 am
face_off, I am working of the tilting but these matrices are far more complex than I imagined. Big respect for the Octane dev team for having to deal with that all throughout Octane. I'm not a fan of FBX though, I prefer to stick to OBJ. Or are there any tools that don't export OBJ? If that's the case, maybe I could add support for FBX later on. Just maybe.

The code for following the normal of the face is not too bad. Simply calculate the quaternion between the up vector and the face normal, convert that quaternion to a rotation matrix and multiply to scatter transform by that rotation matrix. Refer to the Ogre3d library for the code to do each of these steps.

Regarding OBJ, apps like Revit will not easily export to OBJ (unless users purchase an OBJ exporter), so FBX is the preferred format for it.
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke, DAZ Studio
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 14282
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Phantom Scatter | Automatized instancing solution

Postby Phantom107 » Mon Jul 22, 2013 10:17 pm

Phantom107 Mon Jul 22, 2013 10:17 pm
Update

Alright, update time. So I figured out how to deal with matrices.

It's now possible to make the instance be perpendicular with the face as long as the face is pointing upward. The tool is meant for vegetation so that should work perfectly.

Image

There's 1669 trees in this render. The complete computation sequence (so OBJ loading/OBJ analysis/instance generation/file exporting) took 333 ms. I told the trees to be perpendicular with the faces for this test. This property can be defined for every scatter object. (so grass could be perpendicular with your faces while the trees point up)

Next up I will work on integration with Phantom Scatter Library so everything works together nicely.
User avatar
Phantom107
Licensed Customer
Licensed Customer
 
Posts: 686
Joined: Tue Jul 24, 2012 11:31 am
Location: The Netherlands

Re: Phantom Scatter | Automatized instancing solution

Postby resmas » Thu Jul 25, 2013 11:48 am

resmas Thu Jul 25, 2013 11:48 am
Great work mate, count on me. It looks great and simple to the kind of work i do so i will be waiting for news.

cheers
:D
i7-2600k | SSD Vertex 3 | WD Velociraptor | WS Revolution | 16GB Ram HyperX | PSU LEPA G1600W | 3 X Asus GTX590 |
https://pt-pt.facebook.com/arq.resmas
User avatar
resmas
Licensed Customer
Licensed Customer
 
Posts: 510
Joined: Thu Aug 09, 2012 10:44 pm
Location: Portugal

Re: Phantom Scatter | Automatized instancing solution

Postby Phantom107 » Thu Jul 25, 2013 5:20 pm

Phantom107 Thu Jul 25, 2013 5:20 pm
Update

I've done additional work and thought on the interface.

So instead of defining the scale of the scatter area to be 1 m² = 100%, I've now programmed everything towards 100 m² = 100%. This makes a lot more sense when finetuning scatter objects because a 10 x 10 m area is more inline with the rest of your (architectural) model than a tiny 1 x 1 m area.

What I've also done is made these little text bubbles that pop-up when you hover over the interface buttons so it tells you immediately what a button is for. You can see this in the screenshot links below.

The preview window has also gotten a little update. I made the wireframe grid scale along with the preview scale so that every square on the wireframe always resembles 1 m². This comes in handy when finetuning scatter objects in relation to real life scale.

1x1 m preview: http://img819.imageshack.us/img819/2088/meag.png
5x5 m preview: http://img837.imageshack.us/img837/1314/pjkj.png
10x10 m preview: http://img824.imageshack.us/img824/7758/n43p.png
25x25 m preview: http://img836.imageshack.us/img836/7735/vom1.png

I'm also working on some stuff under the hood but that's of no importance to you as a consumer. Just some stuff I have to do to get it all to work. Stay tuned!
User avatar
Phantom107
Licensed Customer
Licensed Customer
 
Posts: 686
Joined: Tue Jul 24, 2012 11:31 am
Location: The Netherlands

Re: Phantom Scatter | Automatized instancing solution

Postby resmas » Fri Jul 26, 2013 7:21 pm

resmas Fri Jul 26, 2013 7:21 pm
Looks really good.
Do you have an ideia of how much will cost your software?
Cheers
i7-2600k | SSD Vertex 3 | WD Velociraptor | WS Revolution | 16GB Ram HyperX | PSU LEPA G1600W | 3 X Asus GTX590 |
https://pt-pt.facebook.com/arq.resmas
User avatar
resmas
Licensed Customer
Licensed Customer
 
Posts: 510
Joined: Thu Aug 09, 2012 10:44 pm
Location: Portugal

Re: Phantom Scatter | Automatized instancing solution

Postby necko77 » Fri Jul 26, 2013 11:31 pm

necko77 Fri Jul 26, 2013 11:31 pm
im tuned :)
ArchiCad, Blender, Moi3d
GTX 580 3GB
Win 7, 64 Bit
User avatar
necko77
 
Posts: 323
Joined: Thu Jan 21, 2010 11:27 am
Location: Bosnia&Hercegovina

Re: Phantom Scatter | Automatized instancing solution

Postby Elvissuperstar007 » Sun Jul 28, 2013 9:11 am

Elvissuperstar007 Sun Jul 28, 2013 9:11 am
add WebMoney donations
win 7 /64x C2Quad 6600 2.4/ Nvidia 9800 GX2 1gb 512 bit + Asus 480 GTX/ DDR2 8Gb / NVIDIA 460 GTX 2GB/2x NVIDIA 580 GTX 3GB
Page octane render " В Контакте " http://vkontakte.ru/club17913093
User avatar
Elvissuperstar007
Licensed Customer
Licensed Customer
 
Posts: 2370
Joined: Thu May 20, 2010 8:20 am
Location: Ukraine/Russia

Re: Phantom Scatter | Automatized instancing solution

Postby Phantom107 » Mon Jul 29, 2013 1:38 pm

Phantom107 Mon Jul 29, 2013 1:38 pm
Update

Update time. I put work in a bunch of stuff:

- All of the functions in the 'Placement' catergory are now functional in the library as well as the compute exe.
- Phantom Scatter Compute now reads all scatter data from the files in the library and applies them correctly.
- I've put optimization in the library files: a scatter object is now 449 kB. So even with 20 scatter objects it will only cost 10 MB. Note: these are not the output *.CSV files!
- To save extra time during workflow, I've made a system that batches up scatter objects of the same type into 1 CSV file. Example: let's assume there are 3 different materials that use the scatter object 'grass'. Phantom Scatter Compute will detect this and put all the scatter data of scatter object 'grass' in 1 CSV file. Very handy and prevents clutter.

Support (!)

Right now the OBJ import of Phantom Scatter Compute is designed for the OBJs that were exported from TIG's SketchUp exporter. If you're interested in the program and not using SketchUp, please send me a PM with a simple OBJ model exported by your modeler of choice. I can then work on supporting those OBJs too. Please make sure the OBJ is triangulated.

Pricing

One license is €20,- and will grant 1 full year of usage.


Some results during my testing:

4 scatter objects
Image

1 scatter object
Image


Elvissuperstar007, I don't have a WebMoney account. Unfortunately I'm in the process of changing phone numbers so I can't register just yet. I'll do so once they put my existing number onto this new SIM so I can receive texts again.
User avatar
Phantom107
Licensed Customer
Licensed Customer
 
Posts: 686
Joined: Tue Jul 24, 2012 11:31 am
Location: The Netherlands

Re: Phantom Scatter | Automatized instancing solution

Postby Zay » Mon Jul 29, 2013 1:57 pm

Zay Mon Jul 29, 2013 1:57 pm
Please make sure the OBJ is triangulated.

What? My exporter doesn't triangulate. So you're saying "normal" objs doesn't work with this program?
Win 7 64bit | 3.4GHz I7 | 64GB ram | 2x GTX 1080Ti + 980Ti - driver 456.71| Modo/Blender/ZBrush/Daz/Poser
Zay
Licensed Customer
Licensed Customer
 
Posts: 1051
Joined: Sun Jan 17, 2010 2:53 am

Re: Phantom Scatter | Automatized instancing solution

Postby Phantom107 » Mon Jul 29, 2013 2:40 pm

Phantom107 Mon Jul 29, 2013 2:40 pm
Currently only triangulated models are supported.

- What exporter are you using?
- Does it work with quads? n-gons?

Please upload a simple OBJ so I can have a look.
User avatar
Phantom107
Licensed Customer
Licensed Customer
 
Posts: 686
Joined: Tue Jul 24, 2012 11:31 am
Location: The Netherlands
PreviousNext

Return to General Discussion


Who is online

Users browsing this forum: Bing [Bot] and 11 guests

Sun Dec 06, 2020 1:42 am [ UTC ]