I am quiet new to OptiX and I have some general questions regarding my purpose.
I want to do a communication scenario simulation using OptiX, which means find the path between a fixed transmitter and receiver in a city environment as in https://on-demand.gputechconf.com/gtc/2014/presentations/S4359-rt-em-wave-propagation-optix-sims-car-to-car-communication.pdf. Therefore, I went through the optix 7.4 programming guide and the examples in optix7course, GitHub - ingowald/optix7course.
Now I think I will use a fixed position point source as my transmitter (start with omnidirectional) with the parameters to describe this transmitter and the receiver as my camera as the first attempt. I can define closest hit and any hit program (shadow ray direct terminated if the path is occluded between transmitter and receiver) to find all the paths between transmitter and receiver. With the texture of the city environment, I can simulate the wave propagation and calculate the final received power for each launch index and visualize the received power intensity as rgb values.
- Firstly, I am not sure if this is the right way to reach my purpose.
- Secondly, I want to revise the code given in the example09_shadowrays from GitHub - ingowald/optix7course, since I found it quite hard to directly write all the codes myself. But I am not sure if it is the appropriate example to revise. I choose this example because it imported the .obj files with texture and it has one point light source, which I can use as my transmitter.
Any suggestions would be great and many many thanks in advance!