FORUM DE DISCUSSION SUR LE LANGAGE PANORAMIC
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.
FORUM DE DISCUSSION SUR LE LANGAGE PANORAMIC

Développement d'applications avec le langage Panoramic
 
AccueilAccueil  RechercherRechercher  Dernières imagesDernières images  S'enregistrerS'enregistrer  MembresMembres  Connexion  
Derniers sujets
» Gestion d'un système client-serveur.
[solved] 3D_LINE How to ? Emptypar Klaus Ven 17 Mai 2024 - 14:02

» item_index(résolu)
[solved] 3D_LINE How to ? Emptypar jjn4 Mar 14 Mai 2024 - 19:38

» Bataille terrestre
[solved] 3D_LINE How to ? Emptypar jjn4 Lun 13 Mai 2024 - 15:01

» SineCube
[solved] 3D_LINE How to ? Emptypar Marc Sam 11 Mai 2024 - 12:38

» Editeur EliP 6 : Le Tiny éditeur avec 25 onglets de travail
[solved] 3D_LINE How to ? Emptypar Marc Sam 11 Mai 2024 - 12:22

» Philharmusique
[solved] 3D_LINE How to ? Emptypar jjn4 Ven 10 Mai 2024 - 13:58

» PANORAMIC V 1
[solved] 3D_LINE How to ? Emptypar papydall Jeu 9 Mai 2024 - 3:22

» select intégrés [résolu]
[solved] 3D_LINE How to ? Emptypar jjn4 Mer 8 Mai 2024 - 17:00

» number_mouse_up
[solved] 3D_LINE How to ? Emptypar jjn4 Mer 8 Mai 2024 - 11:59

» Aide de PANORAMIC
[solved] 3D_LINE How to ? Emptypar jjn4 Mer 8 Mai 2024 - 11:16

» trop de fichiers en cours
[solved] 3D_LINE How to ? Emptypar lepetitmarocain Mer 8 Mai 2024 - 10:43

» Je teste PANORAMIC V 1 beta 1
[solved] 3D_LINE How to ? Emptypar papydall Mer 8 Mai 2024 - 4:17

» bouton dans autre form que 0(résolu)
[solved] 3D_LINE How to ? Emptypar leclode Lun 6 Mai 2024 - 13:59

» KGF_dll - nouvelles versions
[solved] 3D_LINE How to ? Emptypar Klaus Lun 6 Mai 2024 - 11:41

» @Jack
[solved] 3D_LINE How to ? Emptypar Jack Mar 30 Avr 2024 - 20:40

Navigation
 Portail
 Index
 Membres
 Profil
 FAQ
 Rechercher
Rechercher
 
 

Résultats par :
 
Rechercher Recherche avancée
Mai 2024
LunMarMerJeuVenSamDim
  12345
6789101112
13141516171819
20212223242526
2728293031  
CalendrierCalendrier
Le Deal du moment :
Funko POP! Jumbo One Piece Kaido Dragon Form : ...
Voir le deal

 

 [solved] 3D_LINE How to ?

Aller en bas 
5 participants
AuteurMessage
d.j.peters

d.j.peters


Nombre de messages : 77
Age : 59
Localisation : Germany
Date d'inscription : 31/07/2010

[solved] 3D_LINE How to ? Empty
MessageSujet: [solved] 3D_LINE How to ?   [solved] 3D_LINE How to ? EmptyLun 16 Oct 2017 - 17:23

how to use and show the blue 3D_LINE ?
thank you
Code:
label DoIt
dim x,y,z

' full_space 0
scene3d 1
full_space 1

' axes_show
axes_hide

' fog_on
fog_off


3d_cube 1,1
3d_color 1,255,0,0 : ' red
' 3d_hide 1

3d_cube 2,1
3d_color 2,0,255,0 : ' green
' 3d_hide 2

3d_line 3 ,1,0,0   : ' <- is it position direction or what ?
3d_line_width 3,3  : ' 3 pixels width
3d_color 3,0,0,255 : ' blue

timer 99
timer_interval 99,40 : ' 1000/25 Hz
on_timer 99,DoIt

end              

DoIt:
  if scancode=27 then terminate
  3d_rotate 1,x*2,y,z
  3d_rotate 2,x,y*2,z
  3d_rotate 3,x,y,z*2
  x=x+1 : y=y+1 : z=z+1
return


Dernière édition par d.j.peters le Mar 17 Oct 2017 - 11:02, édité 1 fois
Revenir en haut Aller en bas
http://shiny3d.de
papydall

papydall


Nombre de messages : 7009
Age : 73
Localisation : Moknine (Tunisie) Entre la chaise et le clavier
Date d'inscription : 03/03/2012

[solved] 3D_LINE How to ? Empty
MessageSujet: Re: [solved] 3D_LINE How to ?   [solved] 3D_LINE How to ? EmptyLun 16 Oct 2017 - 18:34

Salut d.j.peters
Je suis très content de ton retour sur le forum

Hello d.j.peters
I am very satisfied with your return on the forum.


La commande 3D_LINE a 2 actions possibles :
- Si le numéro N n'est pas utilisé, elle crée le premier point d'une nouvelle ligne 3D en (X,Y,Z) et donne le numéro N à cette ligne 3D.
- Si le numéro N est déjà utilisé pour une ligne 3D, elle ajoute le point (X,Y,Z) à la ligne existante pour créer un nouveau segment à la ligne 3D désignée par son numéro N. Le nouveau segment prend la couleur et la largeur de la ligne 3D existante. Le centre de la ligne 3D est placée en (0,0,0) : le centre du monde 3D (SCENE3D).



The command 3D_LINE has 2 possible actions:
- If the number N is not used, it creates the first point of a new 3D line (X,Y, Z) and gives the number N to this 3D line.
- If the number N is already used for a 3D line, it adds the point (X,Y, Z) to the existing line to create a new segment in the 3D line indicated by her number N. The new segment takes the color and the width of the existing 3D line. The center of the 3D line is placed in (0,0,0): the center of the 3D world ( SCENE3D).


Essayer ce code

Try this code



Code:

label DoIt
dim x,y,z

' full_space 0
scene3d 1
full_space 1

' axes_show
 axes_hide

' fog_on
fog_off


3d_cube 1,1
3d_color 1,255,0,0 : ' red
' 3d_hide 1

 3d_cube 2,1
 3d_color 2,0,255,0 : ' green
' 3d_hide 2

3d_line 3 ,1,0,0   : ' <- is it position direction or what ?
3d_line_width 3,3  : ' 3 pixels width
3d_color 3,0,0,255 : ' blue
3d_line 3,2,0,0 : ' <--------------------- Papydall

timer 99
timer_interval 99,40 : ' 1000/25 Hz
on_timer 99,DoIt

end              

DoIt:
  if scancode=27 then terminate
  3d_rotate 1,x*2,y,z
  3d_rotate 2,x,y*2,z
  3d_rotate 3,x,y,z*2
  x=x+1 : y=y+1 : z=z+1
return
Revenir en haut Aller en bas
http://papydall-panoramic.forumarabia.com/
silverman

silverman


Nombre de messages : 968
Age : 51
Localisation : Picardie
Date d'inscription : 18/03/2015

[solved] 3D_LINE How to ? Empty
MessageSujet: Re: [solved] 3D_LINE How to ?   [solved] 3D_LINE How to ? EmptyLun 16 Oct 2017 - 18:37

hello d.j.peters

tu dois utiliser 2 fois la command 3D_LINE:

you must use the 3D_LINE command twice:

Code:
label DoIt
dim x,y,z

' full_space 0
scene3d 1
full_space 1

' axes_show
axes_hide

' fog_on
fog_off


3d_cube 1,1
3d_color 1,255,0,0 : ' red
' 3d_hide 1

3d_cube 2,1
3d_color 2,0,255,0 : ' green
' 3d_hide 2

3d_line 3 ,0,0,0   : ' <- first call put point(start)
3d_line 3 ,0,0,100 : ' <- second call draw line(end)
3d_line_width 3,3  : ' 3 pixels width
3d_color 3,0,0,255 : ' blue

timer 99
timer_interval 99,40 : ' 1000/25 Hz
on_timer 99,DoIt

end              

DoIt:
  if scancode=27 then terminate
  3d_rotate 1,x*2,y,z
  3d_rotate 2,x,y*2,z
  3d_rotate 3,x,y,z*2
  x=x+1 : y=y+1 : z=z+1
return

EDIT: on s'est croisé papydall Very Happy
Revenir en haut Aller en bas
d.j.peters

d.j.peters


Nombre de messages : 77
Age : 59
Localisation : Germany
Date d'inscription : 31/07/2010

[solved] 3D_LINE How to ? Empty
MessageSujet: Re: [solved] 3D_LINE How to ?   [solved] 3D_LINE How to ? EmptyLun 16 Oct 2017 - 18:44

where is it documented I found only: 3D_LINE N

without any description or more about parameters

However thank you for your fast responce

DJ
Revenir en haut Aller en bas
http://shiny3d.de
papydall

papydall


Nombre de messages : 7009
Age : 73
Localisation : Moknine (Tunisie) Entre la chaise et le clavier
Date d'inscription : 03/03/2012

[solved] 3D_LINE How to ? Empty
MessageSujet: Re: [solved] 3D_LINE How to ?   [solved] 3D_LINE How to ? EmptyLun 16 Oct 2017 - 18:54

Voir Aide
Manuel de Référence


[solved] 3D_LINE How to ? 110

Essayer ce code

Code:

label DoIt
dim x,y,z

' full_space 0
scene3d 1
full_space 1

' axes_show
 axes_hide

' fog_on
fog_off


3d_cube 1,1
3d_color 1,255,0,0 : ' red
' 3d_hide 1

 3d_cube 2,1
 3d_color 2,0,255,0 : ' green
' 3d_hide 2

3d_line 3 ,1,0,0   : ' <- is it position direction or what ?
3d_line_width 3,3  : ' 3 pixels width
3d_color 3,0,0,255 : ' blue
rem ============================================================================

3d_line 3,2,0,0 : ' second point
3d_line 3,2,1,0 : ' third point
3d_line 3,3,1,1 : ' forth point


rem ============================================================================
timer 99
timer_interval 99,40 : ' 1000/25 Hz
on_timer 99,DoIt

end              

DoIt:
  if scancode=27 then terminate
  3d_rotate 1,x*2,y,z
  3d_rotate 2,x,y*2,z
  3d_rotate 3,x,y,z*2
  x=x+1 : y=y+1 : z=z+1
return
Revenir en haut Aller en bas
http://papydall-panoramic.forumarabia.com/
d.j.peters

d.j.peters


Nombre de messages : 77
Age : 59
Localisation : Germany
Date d'inscription : 31/07/2010

[solved] 3D_LINE How to ? Empty
MessageSujet: Re: [solved] 3D_LINE How to ?   [solved] 3D_LINE How to ? EmptyLun 16 Oct 2017 - 19:13

I found it
it's only documented online: http://panoramic-language.pagesperso-orange.fr/Reference/3D_LINE.htm
but not in the editor 3D_SCENE help file.

DJ
Revenir en haut Aller en bas
http://shiny3d.de
papydall

papydall


Nombre de messages : 7009
Age : 73
Localisation : Moknine (Tunisie) Entre la chaise et le clavier
Date d'inscription : 03/03/2012

[solved] 3D_LINE How to ? Empty
MessageSujet: Re: [solved] 3D_LINE How to ?   [solved] 3D_LINE How to ? EmptyLun 16 Oct 2017 - 19:23

What version of Panoramic Editor you use?
The last version is 0.9.28i12 of 08/07/2017

[solved] 3D_LINE How to ? 111
Revenir en haut Aller en bas
http://papydall-panoramic.forumarabia.com/
Jean Claude

Jean Claude


Nombre de messages : 5950
Age : 69
Localisation : 83 Var
Date d'inscription : 07/05/2009

[solved] 3D_LINE How to ? Empty
MessageSujet: Re: [solved] 3D_LINE How to ?   [solved] 3D_LINE How to ? EmptyLun 16 Oct 2017 - 20:08

[solved] 3D_LINE How to ? Image_11
Revenir en haut Aller en bas
Jean Claude

Jean Claude


Nombre de messages : 5950
Age : 69
Localisation : 83 Var
Date d'inscription : 07/05/2009

[solved] 3D_LINE How to ? Empty
MessageSujet: Re: [solved] 3D_LINE How to ?   [solved] 3D_LINE How to ? EmptyLun 16 Oct 2017 - 20:17

Je pense avoir compris ce que cherche DjPeter. Embarassed

[solved] 3D_LINE How to ? Image_12
Revenir en haut Aller en bas
d.j.peters

d.j.peters


Nombre de messages : 77
Age : 59
Localisation : Germany
Date d'inscription : 31/07/2010

[solved] 3D_LINE How to ? Empty
MessageSujet: Re: [solved] 3D_LINE How to ?   [solved] 3D_LINE How to ? EmptyMar 17 Oct 2017 - 4:16

I downloaded 0.9.28i12 and the help file are complete :-)

It's all OK now.

thank you
Revenir en haut Aller en bas
http://shiny3d.de
papydall

papydall


Nombre de messages : 7009
Age : 73
Localisation : Moknine (Tunisie) Entre la chaise et le clavier
Date d'inscription : 03/03/2012

[solved] 3D_LINE How to ? Empty
MessageSujet: Re: [solved] 3D_LINE How to ?   [solved] 3D_LINE How to ? EmptyMar 17 Oct 2017 - 5:51

C'est bien, alors!
Tu peux mettre "Résolu"

It's good, then!
You can put "Solved"
Revenir en haut Aller en bas
http://papydall-panoramic.forumarabia.com/
Jicehel

Jicehel


Nombre de messages : 5947
Age : 51
Localisation : 77500
Date d'inscription : 18/04/2011

[solved] 3D_LINE How to ? Empty
MessageSujet: Re: [solved] 3D_LINE How to ?   [solved] 3D_LINE How to ? EmptyMer 18 Oct 2017 - 10:01

Hi, nice to see you back D.J. Peters. You have already go your answer but i would just send you a little hello and welcome back Wink
Revenir en haut Aller en bas
Contenu sponsorisé





[solved] 3D_LINE How to ? Empty
MessageSujet: Re: [solved] 3D_LINE How to ?   [solved] 3D_LINE How to ? Empty

Revenir en haut Aller en bas
 
[solved] 3D_LINE How to ?
Revenir en haut 
Page 1 sur 1
 Sujets similaires
-
» [solved english]PANORAMIC_EDITOR.exe does not work anymore !
» [solved english] color = 2d_point(x,y) ?
» [solved english] How to negate a real number ?

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
FORUM DE DISCUSSION SUR LE LANGAGE PANORAMIC :: PANORAMIC :: A l'aide!-
Sauter vers: