Author Topic: displacement no longer works  (Read 994 times)

2022-12-15, 12:34:17

frv

  • Active Users
  • **
  • Posts: 337
    • View Profile
Hi,
I have a big problem with setting displacement. If I check displacement I get a black preview and the scene becomes very slow. Unworkable really.
I have relinked the texture maps and it seemed to work again but after a few edits all went black again. Deleted the material with the displacement and got the same problem again.
The materials with dispacement from the Chaos material library give the same problem.

Something else as well, when I press render in the Corona VFB window the C4D picture viewer opens and no render is starting.

Is there a way to easily go back to version 9 ?  I am in the middle of a small project and would love to get back to work.

Any help apreciated
OS 13.01
Mac Studio Ultra
C4D 2023.1.0
CR v10 buikld 28-11-2022
« Last Edit: 2022-12-15, 12:46:07 by frv »

2022-12-15, 12:52:46
Reply #1

frv

  • Active Users
  • **
  • Posts: 337
    • View Profile
Well, really weird. But I copy paste the model in a new file and now all is fine again.

2022-12-15, 13:35:48
Reply #2

frv

  • Active Users
  • **
  • Posts: 337
    • View Profile
There is something weird going on with displacement. When changing settings for he scale of the mapping from 100% to for example 1000 all goes wrong. It corrupts the file to the extend that is broken competely. The Corona VFB panel no longer works and switches to the Picture viewer.
The problem is caused by setting geometry to use cubic mapping which somehow does not corrrespond to the dimensions the texture maps are made in. Like there is a unit problem with displacement mappings or texture mappings in general.

What is very strange is that it can completely corrupt the file and even the Corona VFB.
I have very little time to send files and dive into the problem any further. But if others experience the same kind of things than maybe its helpfull knowing my system and app versions do as well.

2022-12-15, 13:52:49
Reply #3

frv

  • Active Users
  • **
  • Posts: 337
    • View Profile
Maybe I need some understanding how texture maps are set on object in C4D. It seems to me that the dimensions of a texture map have no influance on how they are mapped. So a texture that is 2000x2000 mm ata given resolution will not have the same dimensions in C4D when maped on an object of 2000x2000mm. This is why I need to scale texture maps to insane amounts like 10000% to get masonry and so on set. Huge scaling of maps causes Coronarender to behave very weird.
« Last Edit: 2022-12-15, 13:59:00 by frv »

2022-12-15, 13:58:54
Reply #4

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3812
  • Bengamin
    • View Profile
    • Cormats
Hi there, are you working to scale and can you share some images for us?
Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2022-12-15, 14:04:22
Reply #5

frv

  • Active Users
  • **
  • Posts: 337
    • View Profile
not sure what you mean by working to scale.
But the problem is that I am trying to set wooden boards on a surface. The displacement is a simple zebra pattern jpg of 7500mm by about 3500mm at about 10 dpi.
When I set this jpg at a CR material the pattern is extremely small at cubic projection. So I need to set the material tag 1000% or more to see the displacement producing boards with seams. After that CR becomes unstable.
I am sure I am doing something wrong and wonder how to get an image map in a CR material that corresponds to a predictable scale at just 100% without any hassle to rescale the maps in C4D.

2022-12-15, 21:22:59
Reply #6

frv

  • Active Users
  • **
  • Posts: 337
    • View Profile
I got back to my modelling app Vectorworks and set the mapping there at the right scale. Then exported to Cinema again and all was well. Although I got half broken previews, dark and shiny, after a while turned ok again. But it's rather a hassle to work with without previews. Trying to adjust scaling of mappings with the material tags is very buggy and leads to unpredictable results apart from now and then locking up C4D/CR completely.

The main problem is that I don't know how you can prepare a displacement image like a jpg to scale in Photoshop to have it match geometry in C4D. Do the mm matter or is it just the pixels set at image size in PS. I noticed that scaling mappings in C4D using the mat. tags is seriously buggy for displacements in Coronarender especially above higher scaling factors. This is I think because the material tag scaling is not kept up to date with the hight and depth of the displacement. So at 500% upscaled tags the displacement also needs to go up like 5 times. It all leads up to a mess quit often. This is a problem for me in Archviz using masonry, wooden boards and anything detailed and small in facades. A lot of time gets waisted there. Maybe even most.