Code Monkey home page Code Monkey logo

starsx / multivolumes Goto Github PK

View Code? Open in Web Editor NEW
31.0 1.0 3.0 337.04 MB

Authors' implementation of our SIGGRAPH Asia 2021 Technical Communications (Viewport-Resolution Independent Anti-Aliased Ray Marching on Interior Faces in Cube-Map Space) demo III. Fast real-time multiple volumes rendering for external volume textures with mesh occlusion.

Home Page: https://lcs.ios.ac.cn/cgvis/publications/SA21TechnicalCommunications-6/main.html

License: MIT License

Batchfile 0.02% C++ 17.79% C 77.60% HLSL 4.60%
hybrid-raytracing ray-casting ray-marching ray-tracing siggraph-asia volume-rendering workgraph

multivolumes's People

Contributors

baixiaohub avatar starsx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

multivolumes's Issues

PixelShader or other Failure when loading assets?

Hello!

I saw some of your work while starting my journey of learning how to render volumes/volumetric content.
I was very impressed by your work!

In this MultiVolumes demo I am getting an error

D3D12 ERROR: ID3D12Device::CreatePixelShader: Shader uses double precision float ops which are not supported on the current device. [ STATE_CREATION ERROR #336: DEVICE_CREATEPIXELSHADER_DOUBLEFLOATOPSNOTSUPPORTED]
Exception thrown at 0x00007FFF5440474C in MultiVolumes.exe: Microsoft C++ exception: _com_error at memory location 0x00000001000FAE30.
Assertion failed!

Program: ...s\denni\Documents\GitHub\MultiVolumes\Bin\XUSG.dll
File: E:\DirectXProjectsX\RenderingX\XUSG...\XUSGGra...X12.cpp
Line: 371

Expression: !HrToString(hr).c_str()

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

Doing a trace I get:

 	KernelBase.dll!00007fff5440474c()	Unknown
 	vcruntime140d.dll!00007fff2000b650()	Unknown
 	MultiVolumes.exe!ThrowIfFailed(HRESULT hr) Line 44	C++
>	MultiVolumes.exe!MultiVolumes::LoadAssets() Line 194	C++
 	MultiVolumes.exe!MultiVolumes::OnInit() Line 81	C++
 	MultiVolumes.exe!Win32Application::Run(DXFramework * pFramework, HINSTANCE__ * hInstance, int nCmdShow) Line 55	C++
 	MultiVolumes.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * __formal, char * __formal, int nCmdShow) Line 19	C++
 	[External Code]	

Admittedly, much of the rendering in general is beyond my current skillset (why I was excited to play with your demo)
I'm also more of a Mac/Web Developer, so my experience with Full Visual Studio is limited...

However, in that limited experience I know the builds/projects/solutions are very specific/touchy to things so while this is throwing an error, it may be something I did (or did not do) for the build..

I'm on a 2021 Zepher M16 using Windows 11 (64) and a i9. GPU is a 3060 with driver version 512.78 and Everything seems Normal on dxdiag...

I am able to run the regular VolumeRenderer without issues, but I haven't compared the two yet

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.