NVIDIA / gvdb-voxels

Sparse volume compute and rendering on NVIDIA GPUs
Other
673 stars 144 forks source link

error: class "VDBInfo" has no member "voxelsize" #76

Closed NH89 closed 5 years ago

NH89 commented 5 years ago

Dear Rama, While compiling gFluidSurface I get the error sample_utils/optix_vol_intersect.cu(75): error: class "VDBInfo" has no member "voxelsize"

I noticed that your own fork differs in that, it does have 'voxelsize' in the definition of VDBInfo in cuda_gvdb.cuh .

It's 11pm in Australia now. I'll test your fork tomorrow.

Best regards, Nick

ramakarl commented 5 years ago

Nick,

See the note pinned to issues on this topic. Voxelsize should be removed from everywhere in GVDB library and samples, but not all samples have been updated yet. Assume voxelsize=1 as per the pinned issue explanation.

This is likely because gFluidSurface sample is not yet updated to the latest GVDB main lib. Just remove the SetVoxelSize call in that sample. My fork is no longer the current/latest, the main branch is.

Rama

NH89 commented 5 years ago

I have gFluidSample running now. I'll post a patch tomorrow. Thanks, Nick

ramakarl commented 5 years ago

Thanks! Patch merged /w main branch.