Breldur, my new age

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Re: Breldur, my new age

Postby D'Lanor » Wed Apr 14, 2010 9:41 am

Jonnee wrote:I use alot of softvolumes for lamps. They fade in and out.

I should have been more clear. I did not mean lamps as in lights. I meant the lamp objects plus their sprites. They fade, presumably by visregions.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Breldur, my new age

Postby Christian Walther » Wed Apr 14, 2010 1:08 pm

There may be some flag combinations with visregions that make objects fade or whatever, I don’t know. I didn’t dissect any Cyan ages when I did my research for that article, I just experimented with what PyPRP exported.
Christian Walther
 
Posts: 443
Joined: Sun Jun 08, 2008 3:10 am
Location: Switzerland

Re: Breldur, my new age

Postby Paradox » Wed Apr 14, 2010 5:18 pm

D'Lanor wrote:
Christian Walther wrote:To my knowledge you can’t fade in and out stuff using visregions (even though they use soft volumes). According to my research, it’s a hard threshold at field strength 1.0. If anyone knows for a fact that this is incorrect, please edit the corresponding paragraph in the wiki article.

But what did Cyan use for the lamps in Ae'gura then? They clearly fade in and out.

And these are the only objects in Ae'gura that fade (along with a few barriers). So if these are visregions they aren't really used that often by Cyan and apparently more for effect than for lag reduction.


I believe those may be DistOpacityMods. Most common example of them is the GZ markers, which fade out of view with distance.
Unfortunately they aren't (to my knowledge) implemented in PyPRP, but they shouldn't be too difficult to add.
Paradox
 
Posts: 1295
Joined: Fri Sep 28, 2007 6:48 pm
Location: Canada

Re: Breldur, my new age

Postby Jojon » Thu Apr 15, 2010 3:09 pm

Jonnee wrote:At first: I'm still realling thinking of changing the huge garden into a small canyon like Ercana with just two or three garden places. Yesterday I've found great canyon textures. You will be surprised! 8-) Trust me!!


Sorry mate, the only way you could surprise us, by this stage, would be if it totally sucked. :7

I'd hate to think of you compromising your artistic output too much, in order to go get with the technical limitations, but in this case, it sounds like you may wind up with something more.. "focused" , "condensed", "refined".. Ah-blergh, I don't know what I mean. :P

Your visregion code looks fine to me. I am pretty sure that yes; they do have to be convex and to get more complicated ones, you'll have to union/intersect two or more basic ones.
Also, as the soothsayers have stated, there is no fading (which appears to be done using 'em DistOpacityModifiers, which, in turn, it sounds like Dox might add somewhere under visual:, in the next pyPRP (pretty please? *puppy-dog-eyes*)), so any softdistance other than 0, will only result in visibility not popping in and out at exactly the same spot.
Note that you can use the inverse of a visregion, right with the object_name.visual.visregion entries, with the syntax "!(MyVisregionSoftvolume)", quotation marks included.
Jojon
 
Posts: 1116
Joined: Sun Sep 30, 2007 5:49 am

Re: Breldur, my new age

Postby D'Lanor » Thu Apr 15, 2010 3:57 pm

I cannot find any DistOpacityMods (or FadeOpacityMods) in the city prp files. Just Vis Regions and Relevance Regions. Could the latter have anything to do with the fading effect?
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Breldur, my new age

Postby Paradox » Thu Apr 15, 2010 8:14 pm

Relevance Regions are used to handle which areas the client needs to pay attention to, not for object hiding.

It's possible that the flares could use some sort of material effect.
Paradox
 
Posts: 1295
Joined: Fri Sep 28, 2007 6:48 pm
Location: Canada

Re: Breldur, my new age

Postby Jonnee » Thu Apr 15, 2010 8:40 pm

Jojon wrote:Sorry mate, the only way you could surprise us, by this stage, would be if it totally sucked.


*lol* Thanks for this bunch of flowers. :D

I'll try this code this weekend.
User avatar
Jonnee
 
Posts: 266
Joined: Fri Nov 16, 2007 9:45 pm

Re: Breldur, my new age

Postby Jonnee » Fri Apr 16, 2010 8:05 am

Ok. The code works. I was testing it a few minutes ago. The test object switched on and off without fading by using the 0 value.
Next step: Adding all Visregion to the old version of Breldur and checking what happens to the performance of the age.
Maybe I don't need to delete the garden. :roll:

edit: A few hours later....
It seems that we are successfull. I put many objects of the bota room (the one that made the most trouble) into a Visregion and have changed some object's borders to "convex hull" or I have deleted the borders totally.

After exporting the age the lag dissappeared as long as I was outside of this room. There is just a minimal lag when I enter the Visregion and the objects of the bota rooms get drawn. But these 0.1 seconds of lag are absolutely acceptable. 8-)

Tomorrow I will start to include Visregions for the other rooms.
User avatar
Jonnee
 
Posts: 266
Joined: Fri Nov 16, 2007 9:45 pm

Re: Breldur, my new age

Postby kahinj » Fri Apr 16, 2010 4:12 pm

Excellent news Jonnee, glade your back in the builders chair. :)

kahinj
Life is a book.
kahinj
 
Posts: 62
Joined: Sun Dec 06, 2009 3:26 am

Re: Breldur, my new age

Postby diafero » Sat Apr 17, 2010 3:11 am

That's great :)
Maybe you could add some of your experience to the new Wiki page by Aloys? If you need help translating something to English, just send me a mail to diafero AT arcor DOT de :) (which I prefer to a PM)
I prefer e-mails to "diafero arcor de" (after adding the at and the dot) over PMs.

"Many people's horizon is a circle with a radius of zero. They call it their point of view."

Deep Island Shard | Offline KI
diafero
Deep Island Admin
 
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
Location: Germany

PreviousNext

Return to Building

Who is online

Users browsing this forum: No registered users and 0 guests

cron