treegenerator - tree[d]

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
Jorgensen
Licensed Customer
Posts: 872
Joined: Sun Jun 30, 2013 10:53 am

Hi

Just wanted to create some simple trees for use in Sketchup, and found this nice and simple generator tree[d] https://web.archive.org/web/20130915030 ... reed.about.

I have exported as OBJ, and used Content Menu > Octane Proxy > From .obj and imported into Sketchup. It all works fine, but the alphamap on the leaves. Can anyone see if there is something wrong the .png image?

I hoped to be able to use the exported .obj file without involving other programs.
Attachments
Leaf08.png
Leaf08.png (39.64 KiB) Viewed 7606 times
Wood03.png
test_5.obj
(1.95 MiB) Downloaded 300 times
problem.JPG
HOME octane standalone v3.07 | octane plugin for sketchup 3.07.0.14 | sketchup pro 2017 17.2.2555 64 bit | windows 10 pro 10.015063 build 15063 | i7-6700k @4.0 GHz | 32gb ram | 2x gtx 1070 | nvidia driver 382.33
User avatar
FooZe
OctaneRender Team
Posts: 1335
Joined: Tue May 15, 2012 9:00 pm

PNG looks fine, you just need to load it into the opacity input as well so it is used as an opacity mask (load it as an "Alpha Image").
opacity_mask.jpg
Jorgensen
Licensed Customer
Posts: 872
Joined: Sun Jun 30, 2013 10:53 am

Hi fooze

thanks for your fast feedback.

so I do need to go through standalone version before using in sketchup?

or can it be done just by modifying the .mlt file?
HOME octane standalone v3.07 | octane plugin for sketchup 3.07.0.14 | sketchup pro 2017 17.2.2555 64 bit | windows 10 pro 10.015063 build 15063 | i7-6700k @4.0 GHz | 32gb ram | 2x gtx 1070 | nvidia driver 382.33
User avatar
FooZe
OctaneRender Team
Posts: 1335
Joined: Tue May 15, 2012 9:00 pm

Sorry, I missed that you were using sketchup plugin.
But the same applies, you should be able to set the octane materials opacity inside octane render for sketchup (opacity pin as seen here: http://render.otoy.com/manuals/Sketchup/?page_id=988)

Can you please post the .mtl file that gets generated?

Thanks
Chris.
Jorgensen
Licensed Customer
Posts: 872
Joined: Sun Jun 30, 2013 10:53 am

Hi Fooze

Sorry, I forgot the .mtl file.

I use the tree as a proxy object in Sketchup, and I'm not sure that you can edit the materials of proxy objects.

Ps. I'm not allowed to upload .mtl files, so please simple rename the test_5.zip to test_5.mtl.
Attachments
test_5.zip
(138 Bytes) Downloaded 301 times
HOME octane standalone v3.07 | octane plugin for sketchup 3.07.0.14 | sketchup pro 2017 17.2.2555 64 bit | windows 10 pro 10.015063 build 15063 | i7-6700k @4.0 GHz | 32gb ram | 2x gtx 1070 | nvidia driver 382.33
User avatar
FooZe
OctaneRender Team
Posts: 1335
Joined: Tue May 15, 2012 9:00 pm

The .mtl file does not have the listing for the opacity map.
It needs a line:
map_d leaf08.png

to specify the opacity map.

If you manually edit the file to:
------------

newmtl wood03png
Ka 1 1 1
Kd 1 1 1
Ks 0 0 0
map_Kd wood03.png

newmtl leaf08png
Ka 1 1 1
Kd 1 1 1
Ks 0 0 0
map_Kd leaf08.png
map_d leaf08.png

-----------------
ie: add the map_d parameter for the leaf material, then the standalone at least will pick this up and just work.

So it's a problem with the obj generator, it needs to add this "map_d" line to specify the opacity map (maybe there are some settings you can change that will make it do it?)

Attached is a zip of the tweaked version that should work (obj, mtl and textures).
treetest.zip
(816.06 KiB) Downloaded 310 times
Jorgensen
Licensed Customer
Posts: 872
Joined: Sun Jun 30, 2013 10:53 am

Hi FooZe

Thanks for your effort.

I'll have to see if tree[d] can add this by it self :-)

Thank you.
HOME octane standalone v3.07 | octane plugin for sketchup 3.07.0.14 | sketchup pro 2017 17.2.2555 64 bit | windows 10 pro 10.015063 build 15063 | i7-6700k @4.0 GHz | 32gb ram | 2x gtx 1070 | nvidia driver 382.33
User avatar
resmas
Licensed Customer
Posts: 510
Joined: Thu Aug 09, 2012 10:44 pm
Location: Portugal
Contact:

Jorgensen wrote:Hi FooZe

Thanks for your effort.

I'll have to see if tree[d] can add this by it self :-)

Thank you.

Hello Jorgensen I think you are misunderstand the proxies option inside Octane4Sketchup.

Sketchup cannot open/import .obj files.
But Fuzzy gave us the option to say to Sketchup that a lowpoly component that we have in the model can be read as a highpoly .Obj or .Ocs file inside the Octane Viewport.

Its not possible to SU to edit a .ocs or .obj file, it is only reading them inside the render engine.

To be able to use all the potential of this proxies system you need to create your library of models. For example this tree you created, you cannot open the .obj file inside Sketchup and edit the materials, its not possible. After creating your new tree open Octane StandAlone load the .obj file, aply the materials, save as a Tree.ocs then in Sketchup you select a component that you have in your model and choose "proxie" -- "from OCS", select your file and in the OctaneViewport you will see the tree that you edited inside Octane StandAlone.

has you can see in this example:

Image

Image

Image

Image

cheers
resmas
Attachments
fog_topoSU.jpg
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
Jorgensen
Licensed Customer
Posts: 872
Joined: Sun Jun 30, 2013 10:53 am

Stunning work resmas.

Thanks for explaining.
HOME octane standalone v3.07 | octane plugin for sketchup 3.07.0.14 | sketchup pro 2017 17.2.2555 64 bit | windows 10 pro 10.015063 build 15063 | i7-6700k @4.0 GHz | 32gb ram | 2x gtx 1070 | nvidia driver 382.33
User avatar
resmas
Licensed Customer
Posts: 510
Joined: Thu Aug 09, 2012 10:44 pm
Location: Portugal
Contact:

Jorgensen wrote:Stunning work resmas.

Thanks for explaining.
Thank you mate.
Here is you tree as .ocs file, with your materials.

take a look

cheers
resmas
Attachments
Tree_Jorgensen.rar
(1.18 MiB) Downloaded 324 times
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
Post Reply

Return to “General Discussion”