Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] please reanimate SDF rendering with path tracing and new DXR features #305

Open
trsh opened this issue Apr 4, 2022 · 0 comments

Comments

@trsh
Copy link

trsh commented Apr 4, 2022

I tried the fallowing

# Create materials
sdfGridMaterial = StandardMaterial('SDF Grid')
sdfGridMaterial.baseColor = float4(1.0, 0.5, 0.5, 1.0)
sdfGridMaterial.specularParams = float4(0.001)

# Create SDF grids

sdfGrid = SDFGrid.createNDGrid(narrowBandThickness=2.5)
sdfGrid.generateCheeseValues(128, 0)

sceneBuilder.addSDFGridInstance(
    sceneBuilder.addNode('SDFGrid', Transform()),
    sceneBuilder.addSDFGrid(sdfGrid, sdfGridMaterial)
)

# Create camera

camera = Camera()
camera.position = float3(1, 1, 1)
camera.target = float3(0, 0, 0)
camera.up = float3(0, 1, 0)
camera.focalLength = 35.0
sceneBuilder.addCamera(camera)

# Create environment map
envMap = EnvMap('LightProbes/hallstatt4_hd.hdr')
envMap.intensity = 3.0
envMap.rotation = float3(0, 45, 0)
sceneBuilder.envMap = envMap

with MinimalPathTracer. And it looks bad (dark spots and displaced mesh in cuts). And the performance when near the object drops dramatically (4 fps with RTX 3060).
I tried also SVO, SVS (and SBS) with same setup and it looked even worse, better performance, but still bad when close or inside a hole (~25 fps).

jjjjjjjjjjjjjjjjj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant