Pryme8

Members
  • Content Count

    2581
  • Joined

  • Last visited

  • Days Won

    31

Everything posted by Pryme8

  1. I mean I used the SPS for a project with @dbawel. He would have to say the exacts numbers but I think we were doing 6k or something on screen models with physics and no FPS drop. So I think from what I understand your goals to be that it would accommodate you if set up correct. The other option is like others said is to use a Shader, but this will have extreme limits. First if you are doing anything other then simple shapes (like a point, or a block) things get fairly complicated. It would essentially be a glorified GPU particle system. You could take a look at the GPU particle engine, and see about adapting it. Are you doing basic points? or are you looking to advance into realistic meshs, if you want to do this on the GPU with meshes only you will need to look up Stackless BVH traversal (these are above my pay grade) and figure out how to implement that kind of system. IQ told me to check that stuff out when I was looking up answers for other projects, but I think it might help you as well (if you are trying to do full meshs). If you are just doing points ignore that whole last section.
  2. Maybe I am missing the question, but there should be no problem moving 10k+ Particles with any FPS loss. I tested your example scene with the sinsodial movement of a chain of boxes, cranked it to 20k boxes on my iPhone and had no FPS drop. I kinda don’t know what the specific question is.
  3. I know this is kinda different then game design, but seeing how we probably have a few 3D artists floating around here this might apply to some of you. We are looking to achieve as close to photo realistic as possible. Must have knowledge of interior scenes and ability to render realistic Global Illumination. Preferably with the use of V-Ray or some comparable plug-in for the artists rendering/modeling software. Please send me a message on the forums here, and I will take a look at your portfolio. This is a paid contract.
  4. Well today was supposed to be the completion, but it does not look like anyone really participated. :(...
  5. I wish I had time to help, unfortunately I have a deadline I gotta meet today and tomorrow. So I can’t right at this second.
  6. Last few days, if anyone is in on this. I will follow up with my promise of the reward of hosting the winner for a year +.
  7. Glad my research ended up helping! I should publish the end result of this, which was raymarching organics like trees and bushes. I was never fully able to make things look truly organic but I was getting close. The idea was to be able to eventually have fully 3D trees being rendered on a billboard, or an outside scene through a window.
  8. So On the Playground CustomMaterial works as a constructor, but In my offline version I seem to not have access to it. How can I fix that?
  9. this is what is needed to determine your ray direction. If you look at the main section of the shader code you will see: vec3 rayDir = getRayDir(camPos, normalize(camTarget - camPos), p); which does this function: vec3 getRayDir(vec3 camPos, vec3 viewDir, vec2 pixelPos) { vec3 camRight = normalize(cross(viewDir, vec3(0.0, 1.0, 0.0))); vec3 camUp = normalize(cross(camRight, viewDir)); return normalize(pixelPos.x*(camRight*-1.) + pixelPos.y*camUp + CAM_FOV_FACTOR*viewDir); } so the cam target, which is just a positions in front of the 'physical' camera in the scene. So with quick maths you subtract positions and normalize to get your vector for forward. I think you could essentially just pass the camera forward (global) forward vector but his works well. Think of it as the cameras view direction as denoted in the getRayDir function. A Normalized Global Camera Rotation Vector.
  10. Sounds like you are on your way to win this then! Can’t wait to see what you got going here in a few days. I am driving up from LA today to Eureka, but will be around all next week and will try to be more involved if anyone needs help with anything.
  11. about halfway through now I would figure! Anyone got any screenshots they can share of their WIP, or a hint as to what you are working on?
  12. Another method you could use is make a heightmap Ground, and then use CSG to make it a circle then tube.
  13. If it can be static, then honestly I would raymarch that.... but the hacky way will be to do it with geometry displacement from a texture like I started working on here: https://playground.babylonjs.com/#GZ91H2 or use @JohnK's method
  14. Does it need to be Dynamic or Static? Are you going to be doing hit tests on it or can I displace it in the shader?
  15. Ohhh I got you, I miss read the post! I am out of town at the moment, give me to this evening if I remember when I get to the hotel then I got you. This is actually really easy! You would use an updatable disc and a cylinder to accomplish this I would imagine.
  16. I’m confused as to what the goal is. A ring that shows the height of the grain in be silo?
  17. Yes sir get at it at any point here I think there are still like 3+ weeks left.
  18. Hmmm interesting, looks a lot like how I handled my texture randomisation for my Teriable Generator. Good job 👍🏻
  19. I already do that, basically with the mesh.body.registerOnPhysicsCollide(scene.getPhysicsEngine()._impostors, hit) but I have times where the imposters change quite often so the array from scene.getPhysicsEngine()._impostors is only be correct for a short period of time. I found a work around but figured it the collisions are firing through the engine when ever a any imposter touches that there should be a way to tie into that event.
  20. So how do I make the 'mesh.body.registerOnPhysicsCollide()' function work without providing an array or body for the function to fire in response to. Basically just like a global every time a physics body touches any other physics body do this method, there has to be one I just cant find it. like a physicsEngine.registerOnAnyCollide()
  21. Just make something that is inspired by something "retro". So something from the 60 through I guess the 80s now (damn I guess even the 90's are vintage these days), Just something that give that old school feel. Bonus Points if you document the process and then Ill be grading everyone on code structure, creativity, and execution, with everyone in the communities opinion having the most impact. Once the 30 days are done, time will be called and everyone will be asked to post a link to the docs and/or scene for their project within 24 hours of the 30th day from 9/21. So Oct 11-12th is submission dates. Don't pre-post links to it but give us teasers photos if possible. If you run into a problem recreate it in a PG and link us to in a new topic so the community can help out with any hurdles you may run into. I will post an official "start" tomorrow... but I mean nobody will judge you for starting now... so in case I am not around to announce it tomorrow. . . . START!
  22. Yes sir ^_^, but still dont have a truly Dynamic solution.
  23. Don't overwhelm yourself, just something fun and in your free time!