Search found 119 matches

by Yacoby
02 Mar 2012, 18:23
Forum: General Development
Topic: Terrain
Replies: 104
Views: 40796

Re: Terrain

Cheers. That seems awesome. I am now off to see if I can get some shading sorted. I'm not sure about this line, I took it from your previous commit because I had to get a Ogre::TexturePtr and not Ogre::Image is it correct? const size_t imageOffset = (size - 1 - y)*size*4 + x*4; It should be 3, it wa...
by Yacoby
02 Mar 2012, 13:09
Forum: General Development
Topic: Multiple ESMs and ESP support
Replies: 56
Views: 41468

Re: Multiple ESMs and ESP support

2. Terrain textures I don't have the details at hand. But one of the record types needs special treatment, because it references another record type, but not from the merged ESX stack, but from the current ESX file. There are probably more details somewhere in the terrain thread. To save someone ha...
by Yacoby
02 Mar 2012, 12:22
Forum: General Development
Topic: Terrain
Replies: 104
Views: 40796

Re: Terrain

This seems to be one colour map for the entire terrain group. Are you sure? Looking at the shader code, it uses the same UV as the blend map. Uh. Maybe not actually. Cheers for making me check again. EDIT: Yup. That "works". Seems to have introduced a lot of rendering glitches though. Any...
by Yacoby
02 Mar 2012, 01:28
Forum: General Development
Topic: Scripting Language
Replies: 32
Views: 15198

Re: Scripting Language

*shrug* All I see is that python is very very like what I think Pass by Value is but with some immutable data types. So when in python you create a new instance of x (because x is an number and therefore immutable) creating the new instance isn't reflected outside the function. Java does the same th...
by Yacoby
02 Mar 2012, 00:52
Forum: Off Topic
Topic: Show your desktop
Replies: 94
Views: 42121

Re: Show your desktop

safferli wrote:I've been thinking of giving xmonad a try recently. Anyone have any usability reports on that?
Works fine. (It is what I am running), the config file is a bit complex (It is Haskell, but you don't need to know Haskell) but it is very extensible.
by Yacoby
01 Mar 2012, 09:40
Forum: General Development
Topic: Scripting Language
Replies: 32
Views: 15198

Re: Scripting Language

ezzetabi: You probably have a better understanding of this than me. I will come back and take a better look later when I am less ill and have less coursework. However, I also posted a piece of code to show it: the int in the f function after the call and the int outside is the same, in Java it would...
by Yacoby
29 Feb 2012, 22:46
Forum: General Development
Topic: Terrain
Replies: 104
Views: 40796

Re: Terrain

@ Yacoby: side note: I think for overlaying the texture with the vertex colours, you can just use the "global colour map" feature of the terrain (it already has shader code for that) This seems to be one colour map for the entire terrain group. I wondered what peoples thoughts were with r...
by Yacoby
29 Feb 2012, 20:43
Forum: General Development
Topic: Terrain
Replies: 104
Views: 40796

Re: Terrain

Note: These changes aren't that recent. I tried your latest changes but noticed some regressions: - the blendmaps look blocky (and not smooth - minecraft style :( ): This is a known issue. It is imho better than it was because the way it was the blend maps were noticeably wrong in places. I haven't ...
by Yacoby
29 Feb 2012, 18:46
Forum: General Development
Topic: Scripting Language
Replies: 32
Views: 15198

Re: Scripting Language

That is exactly how Java works, and that example clearly shows object references being passed by value. ;)


Whatever you want to call it, feel free, but it isn't pass by reference.
by Yacoby
29 Feb 2012, 17:40
Forum: General Development
Topic: Scripting Language
Replies: 32
Views: 15198

Re: Scripting Language

Overall this is a very silly debate though :D