monsieur hgy29 I can see in both your videos that you have shadows for all your objects in the world at once. Why doesn't it work for me? Is it due to the size of the world? My world is 512*512 pixels.
Everytime I pass a certain limit the shadow disappears.
I would like to position the light somewhere up in the sky (a sun) and see all the shadows of my objects What am I missing?
Actually I don’t, my shadows are only visible on a certain area. In the first version the area was big, but the shadows not very smooth. In the latest versions, I move the shadow area with the player, so that shadows are visible for objects nearby the player
Todays progress: - First world (I'd like to propose at least three worlds) elements are done. Still perfectible in many ways but already something. - Made a short world entry scene, basically a camera flight and a mission explanation dialogue (shortened in the video). - Tractor beam and item lifting/releasing works (not shown on the video) - I am progressing really slowly currently, having hard time building the scenery. The game story is taking form though, and the hardest part is yet to come.
I have a question please Is it possible to render the animation in a render target? I don't know what the source should be the camera? the scene? or the mesh? I tried playing with scaling and everything but could not get a proper render, it looks like the mesh is rotated somehow. Could you help me please? I have a big IDEA in mind but I am stuck SOLVED: if you want to capture your model you can do:
local camera = D3.View.new(width, height, 45, 0.1, 32)local rt = RenderTarget.new(256, 256)local bmprt = Bitmap.new(rt)
self:addChild(bmprt)
rt:draw(camera.view)
Comments
Everytime I pass a certain limit the shadow disappears.
I would like to position the light somewhere up in the sky (a sun) and see all the shadows of my objects
I have updated my GH https://github.com/mokalux/gideros-3D-FP
Likes: MoKaLux
- First world (I'd like to propose at least three worlds) elements are done. Still perfectible in many ways but already something.
- Made a short world entry scene, basically a camera flight and a mission explanation dialogue (shortened in the video).
- Tractor beam and item lifting/releasing works (not shown on the video)
- I am progressing really slowly currently, having hard time building the scenery. The game story is taking form though, and the hardest part is yet to come.
Likes: MoKaLux, SinisterSoft
Is it possible to render the animation in a render target? I don't know what the source should be the camera? the scene? or the mesh?
I tried playing with scaling and everything but could not get a proper render, it looks like the mesh is rotated somehow.
Could you help me please? I have a big IDEA in mind but I am stuck
SOLVED: if you want to capture your model you can do:
Likes: MoKaLux
I can get the width and the height of a 3d mesh
I don't want to "pollute" this topic so I add my thank you here for the below answer by hgy29.
Likes: MoKaLux
one more question please
Is it possible to set an ortographic projection? I don't know what to pass as arguments
EDIT: this works