Presentation is loading. Please wait.

Presentation is loading. Please wait.

Declarative Specification of Ambiance in VRML Landscapes Vincent Jolivet, Dimitri Plemenos, Patrick Poulingeas. MSI Laboratory. University of Limoges (France).

Similar presentations


Presentation on theme: "Declarative Specification of Ambiance in VRML Landscapes Vincent Jolivet, Dimitri Plemenos, Patrick Poulingeas. MSI Laboratory. University of Limoges (France)."— Presentation transcript:

1 Declarative Specification of Ambiance in VRML Landscapes Vincent Jolivet, Dimitri Plemenos, Patrick Poulingeas. MSI Laboratory. University of Limoges (France).

2 Declarative Specification of Ambiance in VRML Landscapes Introduction Introduction Declarative Modelling Declarative Modelling Managing declarative specifications with fuzzy subsets theory Managing declarative specifications with fuzzy subsets theory Application to the foggy aspect of a scene Application to the foggy aspect of a scene Application to natural lighting Application to natural lighting Conclusion Conclusion

3 An overview of VRML VRML has now become a standard for creating virtual worlds integrated to Internet. VRML has now become a standard for creating virtual worlds integrated to Internet. VRML offers to the designer high-level objects and manages all the rendering process. VRML offers to the designer high-level objects and manages all the rendering process. VRML is an open text-based format which allows a processing by script languages. VRML is an open text-based format which allows a processing by script languages.

4 VRML tools There are 2 types of tools for a VRML designer: Geometric modellers (for the static aspect of a virtual world). Geometric modellers (for the static aspect of a virtual world). Behavorial modellers (for the dynamic aspect of a virtual world). Behavorial modellers (for the dynamic aspect of a virtual world). Our goal is to present an improvement of geometric modellers when the virtual world is a landscape.  A perspective similar to the aim of Declarative Modelling Declarative Modelling

5 Declarative Modelling The aim of declarative modelling is to produce several prototypes of scenes corresponding to a high-level and vague specification. The aim of declarative modelling is to produce several prototypes of scenes corresponding to a high-level and vague specification. There are 2 kinds of declarative modellers: There are 2 kinds of declarative modellers: General purpose declarative modellers for any kind of scenes. General purpose declarative modellers for any kind of scenes. Dedicated declarative modellers specialized in a domain (This work belongs to this class). Dedicated declarative modellers specialized in a domain (This work belongs to this class).

6 Phases of Declarative Modelling 1. Description phase (where the designer describes her wishes in a “natural” and declarative manner). 2. Scene generation phase (where an algorithm generates all the scenes satisfying the description). 3. Scene understanding phase (where the solutions found are shown to the user with a classification method).

7 Managing Properties Declarative specifications use properties. Declarative specifications use properties. Properties have an inherent imprecision. Properties have an inherent imprecision. Words like “big” or “tall” do not correspond to a precise numerical interval. Words like “big” or “tall” do not correspond to a precise numerical interval. Fuzzy subsets theory can take into account this imprecision due to natural language. Fuzzy subsets theory can take into account this imprecision due to natural language. This theory can also build new properties with modifiers and a few basic properties. This theory can also build new properties with modifiers and a few basic properties.

8 Two kinds of properties Simple properties (“The weather is foggy”). These properties are qualitative. Simple properties (“The weather is foggy”). These properties are qualitative. Parametric properties (“The level of snow is 2 meters”). Parametric properties (“The level of snow is 2 meters”). These properties introduces a numerical value.

9 Fuzzy Representation of Properties Simple and parametric properties are represented by trapezoidal membership functions in our usage of fuzzy-subsets theory. Simple and parametric properties are represented by trapezoidal membership functions in our usage of fuzzy-subsets theory. [a,b] is the kernel of the membership function. [a-α,b+β] is the support of the membership function.

10 Generate Numeric Values for a Property 1. A threshold α is fixed. 2. The α-support set of the membership function associated to the property is computed  An interval. 3. A discretization of the computed interval gives several values (  several solutions)

11 Modifiers Modifiers are operators that act on simple properties to create a new property. Modifiers are operators that act on simple properties to create a new property. Modifiers are: Modifiers are: Extremely little Extremely little Very little Very little Rather little Rather little  (  No modification of the simple property)  (  No modification of the simple property) Rather Rather Very Very Extremely Extremely

12 Action of a Modifier on a Simple Property The simple property “weak” is plotted in red.

13 Fuzzy Operators Fuzzy operators act both on simple and parametric properties to create a new property. Fuzzy operators act both on simple and parametric properties to create a new property. Fuzzy operators are: Fuzzy operators are: Exactly Exactly Really Really  (  No modification of the property)  (  No modification of the property) Neighboring Neighboring More or less More or less Vaguely Vaguely

14 Uncertainty in Descriptions Previous descriptions were imprecise. Previous descriptions were imprecise. A new kind of descriptions has been introduced: descriptions with uncertainty. A new kind of descriptions has been introduced: descriptions with uncertainty. Example of such descriptions: “It is rather certain that the level of snow is 2 meters”. Example of such descriptions: “It is rather certain that the level of snow is 2 meters”. The word “rather” acts as an uncertainty operator which can increase or decrease the uncertainty of the description. The word “rather” acts as an uncertainty operator which can increase or decrease the uncertainty of the description.

15 Uncertainty operators Uncertainty operators can be used with simple and parametric properties to create a new property. Uncertainty operators can be used with simple and parametric properties to create a new property. The following set of uncertainty operators The following set of uncertainty operators have been chosen:  (means that the description is certain)  (means that the description is certain) Rather Rather Enough Enough Little Little Very little Very little

16 Action of an uncertainty Operator on a Property There is a reduction of the size of the kernel of the membership function (of the basic property) and a contraction of this function.

17 Foggy Scenes in VRML VRML allows the designer to change the foggy aspect of a scene with a Fog node. VRML allows the designer to change the foggy aspect of a scene with a Fog node. The Fog node has a visibility field which corresponds to the visibility limit for the Avatar. The Fog node has a visibility field which corresponds to the visibility limit for the Avatar.

18 Properties for foggy Aspect 2 kinds of properties are proposed to the designer: A simple property like “The weather is foggy”. A simple property like “The weather is foggy”. A parametric property like “The visibility limit is 50 meters”. A parametric property like “The visibility limit is 50 meters”.

19 Examples of Solutions found The visibility limit is 70 metersThe visibility limit is exactly 70 meters Action of an operator on a property

20 Examples of Solutions found First scene found for the descriptionLast scene found for the description Several solutions are computed for the same description: “The visibility limit is 70 meters”.

21 Natural Lighting in a Scene VRML proposes a node called DirectionalLight for a scene illumination. VRML proposes a node called DirectionalLight for a scene illumination. This node introduces a directional light in the VRML landscapes. This node introduces a directional light in the VRML landscapes. This directional light will correspond to the light of the sun. This directional light will correspond to the light of the sun.

22 The lived Time To express the natural lighting in a declarative manner, the concept of To express the natural lighting in a declarative manner, the concept of “lived time” (D. Siret) has been chosen. “lived time” (D. Siret) has been chosen. In a geocentric model, the possible sun positions are computed from descriptions such as: In a geocentric model, the possible sun positions are computed from descriptions such as: “The end of the afternoon” ; “The end of the afternoon” ; “Beginning of the day in Winter” ; “Beginning of the day in Winter” ; “The end of the morning in the middle of Summer”. “The end of the morning in the middle of Summer”.

23 Determination of the Sun Position A geocentric model (Figure taken from a work of D. Siret).

24 Intervals corresponding to the “lived Time” Figure taken from a work of D. Siret.

25 Example of natural Lighting One scene corresponding to the description: “Midday”.

26 Example of natural Lighting One scene corresponding to the description: “The middle of the afternoon”.

27 Drawbacks of the Method The drawbacks come from VRML limitations. Absence of shadows (damages the realism of sun lighting). Absence of shadows (damages the realism of sun lighting). Lighting included in textures becomes inconsistent when the sun position changes. Lighting included in textures becomes inconsistent when the sun position changes. Impossibility to introduce complex physical parameters. Impossibility to introduce complex physical parameters.

28 Future Researches In order to overcome the previous drawbacks: Lighting in textures can be recovered and changed with an inverse rendering process. Lighting in textures can be recovered and changed with an inverse rendering process. VRML viewers like Contact of Blaxxun have interesting extensions of VRML standard (e.g. Particle and MultiTexture nodes) VRML viewers like Contact of Blaxxun have interesting extensions of VRML standard (e.g. Particle and MultiTexture nodes) The emergence of X3D would give more possibilities than VRML. The emergence of X3D would give more possibilities than VRML.

29 Conclusion A framework to manage declarative descriptions has been introduced. A framework to manage declarative descriptions has been introduced. This framework is based on fuzzy subset theory. This framework is based on fuzzy subset theory. An application to ambiance in VRML landscapes has been presented. An application to ambiance in VRML landscapes has been presented. This framework can be reused for handling ambiance in more generic scenes. This framework can be reused for handling ambiance in more generic scenes.


Download ppt "Declarative Specification of Ambiance in VRML Landscapes Vincent Jolivet, Dimitri Plemenos, Patrick Poulingeas. MSI Laboratory. University of Limoges (France)."

Similar presentations


Ads by Google