Displacement exploding the polygons

Forums: Displacement exploding the polygons
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

Displacement exploding the polygons

Postby parsanice » Fri Jun 09, 2017 2:36 pm

parsanice Fri Jun 09, 2017 2:36 pm
Hello octane people,

I'm trying to make an ice cream cone using displacements ( with C4D's "tiles" node ). I've made the UV and everything, the only problem is that the displacement tears the edges of the cone, making it very noticeable. Especially in my case which I'm trying to achieve realistic results.
I've read here: https://render.otoy.com/forum/viewtopic.php?f=30&t=61685&p=315564&hilit=displacement#p315564 that I should turn off the angle limit on phong tag, while that DOES make some changes, it doesn't fix it.

I've tried anything that I thought was relatable and failed. I've even tried crazy stuff like using a falloff node to only have displacement on the center of the cone and not the edges, but that doesn't work and I'm not good with nodes at all.

I appreciate it if anyone helped me on this.
Attachments
3.JPG
2.JPG
1.JPG
MB: Gigabyte Designare-EX X99
GPU: 2x Asus Strix 1070 OC
RAM: Corsair Vengence LPX 32 Gb
CPU: Core i7 - 5820k
PSU: EVGA Supernova 1000w
1x SSD & 2 HDDs
User avatar
parsanice
Licensed Customer
Licensed Customer
 
Posts: 17
Joined: Sat Oct 29, 2016 3:55 pm

Re: Displacement exploding the polygons

Postby parsanice » Sat Jun 10, 2017 10:22 am

parsanice Sat Jun 10, 2017 10:22 am
I found a way around it. Nothing on these forums or the whole internet helped me, in fact, it seems like a serious problem that many people have and the devs can't fix it!

Anyways, I got around it by creating a Displacer modifier ( and making it a child of the cone ) and went in " Shading " tab, changing " Channel " to " Displacement ",
created a C4D material, put the displacement ( in my case, Tiles ) in the displacement part of the material, and added the material to the MODIFIER.
Then dragged and dropped the material's tag in the " Texture Tag " part of the modifier.

For this to work, the object HAS to be subdivided so the displacer can give accurate results.

I then tweaked the options in " Object " tab until it gave close results, but it started to make some weird results. ( attached. )
I changed " Type " in " Object " tab from Intensity (Centered) to Intensity. And it was fixed! Exactly same results, but with the edges fixed.

This would change depending on the project, of course. It worked perfectly for me.
The only problem with this method is that it needs lots of VRAM. For this project, it took 1.762Gb with 2,193,408 polys!

Hope it helps.
Attachments
weird.png
Weird results
fixed.png
Fixed
notfixed.png
Not fixed
two.png
Not fixed / Notice the top edge.
one.png
Fixed
MB: Gigabyte Designare-EX X99
GPU: 2x Asus Strix 1070 OC
RAM: Corsair Vengence LPX 32 Gb
CPU: Core i7 - 5820k
PSU: EVGA Supernova 1000w
1x SSD & 2 HDDs
User avatar
parsanice
Licensed Customer
Licensed Customer
 
Posts: 17
Joined: Sat Oct 29, 2016 3:55 pm

Re: Displacement exploding the polygons

Postby aoktar » Sat Jun 10, 2017 10:40 am

aoktar Sat Jun 10, 2017 10:40 am
Here is a sample for showing what you have to pay attention.
Attachments
a1.jpg
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15969
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: Displacement exploding the polygons

Postby aggiechase37 » Sat Aug 19, 2017 6:46 pm

aggiechase37 Sat Aug 19, 2017 6:46 pm
Ok aoktar, other than paying attention, how do you get this result? Phone tag? What?
Chase

Win 10 - Intel 4770 - 2x Nvidia 1070 - 32 gigs RAM - C4D r16

http://www.luxemediaproductions.com
aggiechase37
Licensed Customer
Licensed Customer
 
Posts: 214
Joined: Tue Jan 13, 2015 6:39 am

Re: Displacement exploding the polygons

Postby TonyBoy » Sat Aug 19, 2017 10:01 pm

TonyBoy Sat Aug 19, 2017 10:01 pm
A bevel might help. A phong adjustment would be sweet.
TonyBoy
Licensed Customer
Licensed Customer
 
Posts: 238
Joined: Thu Dec 13, 2012 4:47 pm

Re: Displacement exploding the polygons

Postby aggiechase37 » Sun Aug 20, 2017 12:58 pm

aggiechase37 Sun Aug 20, 2017 12:58 pm
Bevel and phong ineffective
Chase

Win 10 - Intel 4770 - 2x Nvidia 1070 - 32 gigs RAM - C4D r16

http://www.luxemediaproductions.com
aggiechase37
Licensed Customer
Licensed Customer
 
Posts: 214
Joined: Tue Jan 13, 2015 6:39 am

Re: Displacement exploding the polygons

Postby NVN » Sun Aug 20, 2017 2:45 pm

NVN Sun Aug 20, 2017 2:45 pm
Sry I Think Octane Displacement is BULLSHIT and not useable,because you see every Time the f****** edge.
Its better to sculp your geo. or use C4d Displacer.

I cant understood Why Otoy not fix their displacer...its Not useable.
User avatar
NVN
Licensed Customer
Licensed Customer
 
Posts: 504
Joined: Tue Jun 08, 2010 8:10 pm

Re: Displacement exploding the polygons

Postby bepeg4d » Mon Aug 21, 2017 1:13 pm

bepeg4d Mon Aug 21, 2017 1:13 pm
Hi NVN,
thanks for your kind words.
Please, have a look at this other discussion:
viewtopic.php?f=30&t=62095&p=317480&hilit=displacement#p317480
ciao beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9959
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: Displacement exploding the polygons

Postby NVN » Mon Aug 21, 2017 6:46 pm

NVN Mon Aug 21, 2017 6:46 pm
bepeg4d wrote:Hi NVN,
thanks for your kind words.
Please, have a look at this other discussion:
viewtopic.php?f=30&t=62095&p=317480&hilit=displacement#p317480
ciao beppe


im sorry but it angers me.
First...Phong tag deactivating is a workaround but not a solution.
And....i need my phong tag for my geometry hard edges or something else.

And it works not perfect u will see black holes on some edge also....

I want a perfect Displacement which i can use for Box-Mapping also.
User avatar
NVN
Licensed Customer
Licensed Customer
 
Posts: 504
Joined: Tue Jun 08, 2010 8:10 pm

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: jayroth2020 and 32 guests

Thu Apr 25, 2024 5:38 pm [ UTC ]