N
N
Nicholas2016-04-20 08:45:49
JavaScript
Nicholas, 2016-04-20 08:45:49

How do you like this way of optimizing the game?

I have an idea:
If you make two 3d objects instead of one!
1 is a normal object with a large number of vertices and a good texture
2 is an optimized object with a minimum number of vertices and a simplified texture
and, depending on the distance from the camera, replace objects
Example:
camera close to the object > hide 2 and show 1
camera far from the object > hide 1 and show 2
What do you say? Is there any reason??? you just need to make your own editor for webgl to implement this (((

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
GavriKos, 2016-04-20
@ACCNCC

This is called LoD - https://ru.wikipedia.org/wiki/Level_of_Detail
Really used for a long time and often.
About the editor - it is not clear why it is needed.

A
Alexey Lebedev, 2016-04-20
@swanrnd

That's what they do in a lot of games.

S
svaa1982, 2016-04-21
@svaa1982

I think all advanced engines support it. From what I know, there are definitely in Unity, Unreal and Blend4Web.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question