Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] in noggit?

[DiscordArchive] in noggit?

[DiscordArchive] in noggit?

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
07-04-2023, 05:07 PM
#11
Archived author: Intemporel • Posted: 2023-07-04T17:07:10.141000+00:00
Original source

Badly handled because there still exist a bug when normals are calculated, Right now it's just handled in the terrain shader, based on what the shader received about normal. I told this bug to Skarn just in case he now how to solve it, but he never be able to have a look..
rektbyfaith
07-04-2023, 05:07 PM #11

Archived author: Intemporel • Posted: 2023-07-04T17:07:10.141000+00:00
Original source

Badly handled because there still exist a bug when normals are calculated, Right now it's just handled in the terrain shader, based on what the shader received about normal. I told this bug to Skarn just in case he now how to solve it, but he never be able to have a look..

rektbyfaith
Administrator
0
07-04-2023, 05:10 PM
#12
Archived author: Intemporel • Posted: 2023-07-04T17:10:47.859000+00:00
Original source

Since i've removed Qt, there is 6 months now, I can't compile NoggitRed anymore, then i've abandonned the development ...
rektbyfaith
07-04-2023, 05:10 PM #12

Archived author: Intemporel • Posted: 2023-07-04T17:10:47.859000+00:00
Original source

Since i've removed Qt, there is 6 months now, I can't compile NoggitRed anymore, then i've abandonned the development ...

rektbyfaith
Administrator
0
07-04-2023, 05:10 PM
#13
Archived author: Intemporel • Posted: 2023-07-04T17:10:55.044000+00:00
Original source

<Tongueeperetard:654940401467129866>
rektbyfaith
07-04-2023, 05:10 PM #13

Archived author: Intemporel • Posted: 2023-07-04T17:10:55.044000+00:00
Original source

<Tongueeperetard:654940401467129866>

rektbyfaith
Administrator
0
07-04-2023, 05:13 PM
#14
Archived author: Titi • Posted: 2023-07-04T17:13:26.791000+00:00
Original source

sadge
rektbyfaith
07-04-2023, 05:13 PM #14

Archived author: Titi • Posted: 2023-07-04T17:13:26.791000+00:00
Original source

sadge

rektbyfaith
Administrator
0
07-04-2023, 05:15 PM
#15
Archived author: Intemporel • Posted: 2023-07-04T17:15:00.126000+00:00
Original source

Very
rektbyfaith
07-04-2023, 05:15 PM #15

Archived author: Intemporel • Posted: 2023-07-04T17:15:00.126000+00:00
Original source

Very

rektbyfaith
Administrator
0
07-04-2023, 05:34 PM
#16
Archived author: Titi • Posted: 2023-07-04T17:34:54.068000+00:00
Original source

https://streamable.com/mw3dil my implementation of terrain sculpting "objects snapping", I've tried two ways:
- #1 just applying the brush effects to objects position the same way as it does to vertexes(copy pasta'd the code and replaced chunk vertex by object position), there was some issue and it was pretty inconsistent couldn't figure it out
- #2 what I'm doing in the vid, find the distance of obj to ground for every single object hit by the brush with a ray intersect, store the ground height to object position ***delta***, then the brush applies terrain changes as usual, then we recaculate new ground height at the position of each object again and move the object to that position + old delta.
Sadly #2 is pretty slow because of the rays with a very large brush(like an entire zone) and high speed I went from 160ms frame time to 500ms, #1 is a lot faster if it could work under 250ms probably.

the performance hit is still small enough to not matter unless using a gigantic brush size and speed with thousands of objects in it
[Embed: 2023-07-04 19-21-15]
https://streamable.com/mw3dil
rektbyfaith
07-04-2023, 05:34 PM #16

Archived author: Titi • Posted: 2023-07-04T17:34:54.068000+00:00
Original source

https://streamable.com/mw3dil my implementation of terrain sculpting "objects snapping", I've tried two ways:
- #1 just applying the brush effects to objects position the same way as it does to vertexes(copy pasta'd the code and replaced chunk vertex by object position), there was some issue and it was pretty inconsistent couldn't figure it out
- #2 what I'm doing in the vid, find the distance of obj to ground for every single object hit by the brush with a ray intersect, store the ground height to object position ***delta***, then the brush applies terrain changes as usual, then we recaculate new ground height at the position of each object again and move the object to that position + old delta.
Sadly #2 is pretty slow because of the rays with a very large brush(like an entire zone) and high speed I went from 160ms frame time to 500ms, #1 is a lot faster if it could work under 250ms probably.

the performance hit is still small enough to not matter unless using a gigantic brush size and speed with thousands of objects in it
[Embed: 2023-07-04 19-21-15]
https://streamable.com/mw3dil

rektbyfaith
Administrator
0
07-04-2023, 05:38 PM
#17
Archived author: bulbous0617 • Posted: 2023-07-04T17:38:58.608000+00:00
Original source

sweet potatoes man!
rektbyfaith
07-04-2023, 05:38 PM #17

Archived author: bulbous0617 • Posted: 2023-07-04T17:38:58.608000+00:00
Original source

sweet potatoes man!

rektbyfaith
Administrator
0
07-04-2023, 05:57 PM
#18
Archived author: Intemporel • Posted: 2023-07-04T17:57:02.741000+00:00
Original source

Just apply the same factor as terrain for obj inside the radius.
Look like here, this is where height offset are calculated depending of the `Type` : https://gitlab.com/prophecy-rp/noggit-re...L1126-1177
rektbyfaith
07-04-2023, 05:57 PM #18

Archived author: Intemporel • Posted: 2023-07-04T17:57:02.741000+00:00
Original source

Just apply the same factor as terrain for obj inside the radius.
Look like here, this is where height offset are calculated depending of the `Type` : https://gitlab.com/prophecy-rp/noggit-re...L1126-1177

rektbyfaith
Administrator
0
07-04-2023, 05:57 PM
#19
Archived author: Intemporel • Posted: 2023-07-04T17:57:53.508000+00:00
Original source

This can be more quick than doing ray intersect I think
rektbyfaith
07-04-2023, 05:57 PM #19

Archived author: Intemporel • Posted: 2023-07-04T17:57:53.508000+00:00
Original source

This can be more quick than doing ray intersect I think

rektbyfaith
Administrator
0
07-04-2023, 05:58 PM
#20
Archived author: Titi • Posted: 2023-07-04T17:58:07.886000+00:00
Original source

I know
rektbyfaith
07-04-2023, 05:58 PM #20

Archived author: Titi • Posted: 2023-07-04T17:58:07.886000+00:00
Original source

I know

Pages (4): Previous 1 2 3 4 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)