OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

reflection on mesh texture


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
nonnenmacher
Newbie


Joined: 04 Oct 2018
Posts: 2

PostPosted: Tue Nov 06, 2018 7:58 pm    Post subject:
reflection on mesh texture
Reply with quote

Hi,

I am trying to understand what is thise 'wavy' effect ( dark wavy lines in the border of the flat terrain). It changes depending on the camera position. Is it my texture that is beeing replicated for every triangle on the terrain mesh ? or the material attached to it ?




Thank you!

Cheers,
Vinicius
Back to top
View user's profile Send private message
Alberto Luaces
Guest





PostPosted: Fri Nov 09, 2018 9:12 am    Post subject:
reflection on mesh texture
Reply with quote

"Vinicius Nonnenmacher" writes:

Quote:
Hi,

I am trying to understand what are these 'wavy' effect. It changes
depending on the camera position. Is it my texture that is beeing
replicated for every triangle on the terrain mesh ? or the material
attached to it ?

Hi Vinicius, I think it is a texture repeating pattern. If you want to
avoid this effect, look for "seamless texture patterns" and programs to
do it (for example, the "texturize" plugin for GIMP).

--
Alberto



------------------
Post generated by Mail2Forum
Back to top
gwaldron (Glenn Waldron)
Appreciator


Joined: 25 Aug 2011
Posts: 234

PostPosted: Fri Nov 09, 2018 9:34 pm    Post subject:
reflection on mesh texture
Reply with quote

Vinicius,

That looks like texture aliasing. Enable mipmapping by setting a minification filter like so:


texture->setFilter(osg::Texture::MIN_FILTER, osg::Texture::LINEAR_MIPMAP_LINEAR);
texture->setFilter(osg::Texture::MAG_FILTER, osg::Texture::LINEAR);

Good luck.
 Glenn Waldron / osgEarth








On Tue, Nov 6, 2018 at 8:55 PM Vinicius Nonnenmacher < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:

Quote:
Hi,

I am trying to understand what are these 'wavy' effect. It changes depending on the camera position. Is it my texture that is beeing replicated for every triangle on the terrain mesh ? or the material attached to it ?




Thank you!

Cheers,
Vinicius

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75171#75171




Attachments:
http://forum.openscenegraph.org//files/screenshot_from_2018_11_06_17_41_27_139.png


_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts DirectX Texture Stage Sets to OSG sbrkopac General 2 Tue Dec 04, 2018 8:47 pm View latest post
No new posts Mapping texture coordinates to a port... ijwolf8 General 0 Thu Oct 25, 2018 8:11 pm View latest post
No new posts Rend to Texture Once GuiYe General 1 Sun Aug 26, 2018 7:31 am View latest post
No new posts Can't share Texture among several tex... mp3butcher General 1 Fri Aug 17, 2018 11:06 pm View latest post
No new posts minor change: move assumeSizedInterna... mp3butcher General 9 Wed Aug 15, 2018 10:07 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP