Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#976 Showcase » mohawk normalbaked spaceman » 20-Mar-2012 02:52:11

hebdemnobad
Replies: 14

mohawk normalbaked spaceman

something of a realtime 3d likeness of myself. 500k polys baked onto 1600 poly mesh...there are seam problems but if you get rid of the seams you have less efficiently used uv space, and i'm using a free app for baking (xnormal...i think maya does better but maybe i'm missing something)  i couldn't get blender to bake normals correcly, the resulting map was faceted like the low poly mesh, oh well.

#977 Openspace3D » I saw some bullet physics activity on redmine...no more newton? » 8-Mar-2012 22:12:50

hebdemnobad
Replies: 2

I saw some bullet enguine physics activity on redmine...no more newton? (I've been quiet os3d wise because I have been using what free time I do have to learn the art of normal baking...)

-h

#978 Re: Openspace3D » Alpha channel problem » 1-Mar-2012 00:44:53

fwiw there are quite a few threads on the ogre3d.org forums about alpha materials....if you look for my username and 'alpha' there you should find some code

#979 Re: Programing » is there an english translation of Tutoriel Scol_fr.pdf? » 24-Nov-2011 14:35:07

iri wrote:

what document ?

"the scol tutorial" .pdf document...it refers to appendices for scancodes and ascii codes, but there are no appendices in the .pdf (the english one...i'll look to see if it's in the french one)

-h

#980 Re: Programing » is there an english translation of Tutoriel Scol_fr.pdf? » 24-Nov-2011 14:04:48

the document refers to appendices, but they are not in the .pdf...are they somewhere else, whether French or English?

thanks for your help

-h

#984 Re: Programing » Hello World not displaying in console » 10-Nov-2011 20:19:55

iri wrote:

Yes, i make a mistake ... I missed the double semicolon at the end of the function when i stupidely copied it

fun main()=
    _showconsole;
    _fooS ">>>>>>>>>>>> Hello World";;

yay, it works!

a question on scol and ogre....to manipulate the parts of ogre and newton that the existing os3d plugits access, all i need to know is scol.

but to access stuff like hydrax or skyx that is not yet implemented with plugits (or partially), i need to program the connection between the scol voyager and ogre/newton with c++...did i get that right?

#985 Re: Programing » Hello World not displaying in console » 10-Nov-2011 20:09:19

aha! that's what i get for trying my french!  now there is an error a bit more serious, but nothing on my end (i think):

> exec: _connected

WRITE_OK

> exec: _load "Tutorial/hello1.pkg"

F:/Partition_LocalUsr/ - Tutorial/hello1.pkg - F:\Partition_LocalUsr\tutorial\hello1.pkg

Loading F:\Partition_LocalUsr\tutorial\hello1.pkg ...
typechecking
line 458 in ..\..\..\vm\kernel5\src\compiler\typmag2.cpp
File : F:\Partition_LocalUsr\tutorial\hello1.pkg
(!) Line #3:
    _fooS ">>>>>>>>>>>> Hello World";

syntax error
Dead Scol Machine -2 (0)
syntax error
EndScolMachine -1
delete servers
SCKend-
flagactiveX=0

#986 Re: Programing » Hello World not displaying in console » 10-Nov-2011 18:25:46

iri wrote:
  • With Notepad++ :

    Menu Settings >> Preferences
    In the dialog box, go to tab "New document / Default directory"
    Set "Format" = Windows
    Set "Encoding" = Ansi
    Clicks on Close button.

  • With Bluefish :
    Menu Edit >> Preferences
    In the dialog box, select Files (in the list, at left)
    In "Encoding" (at right), choose Windows-1251 instead of "UTF-8"

I hope it works

i followed your directions (thanks!) and just pasted in the text from this thread into both notepad++ and bluefish. the voyager still flags the same error. sad

#987 Re: Programing » Make code with Notepad++, Gedit, Emacs or Bluefish » 10-Nov-2011 17:56:21

thx....the problem I am having now is encoding the .sol and .pkg files in ascii format.

#988 Re: Programing » Hello World not displaying in console » 10-Nov-2011 17:22:21

iri wrote:

Look at the Preferences to change the default encoding

I can't find that option in the preferences dialog in bluefish.

#989 Re: Programing » Hello World not displaying in console » 10-Nov-2011 17:20:00

arkeon wrote:

Make sure that your pkg files are in ascii and not UTF8

I can't figure out how to do that with windows notepad, bluefish, or dreamweaver (i thought i'd try that too.)

#990 Re: Programing » Hello World not displaying in console » 10-Nov-2011 17:12:34

i cut and pasted the code from this thread into bluefish and saved out the .sol and .pkg files from bluefish, still no success.

#991 Re: Programing » Make code with Notepad++, Gedit, Emacs or Bluefish » 10-Nov-2011 17:08:08

still not working...but I have bluefish up and running so I'll use that.

#992 Re: Programing » Hello World not displaying in console » 10-Nov-2011 16:57:27

With this text in a .scol file (at the root of the Partition_LocalUsr directory), the console appears:

_showconsole
_fooS “>>>>>>>>>>>> Hello World and Bonjour”

Then I created a folder named Tutorial in the root of the Partition_LocalUsr directory.

Then I created hello1.scol, which contains the code:

_load “Tutorial/hello1.pkg”

main

and hello1.pkg, which contains the code:

fun main()=
_showconsole;
_fooS “>>>>>>>>>>>> Hello World”;;

but no console window appears. here is where I presume the error appears in the .log file:

WRITE_OK
(!) Illegal character '\ffffffef'
(!) Line #1:
??_load “Tutorial/hello1.pkg”
(!) Function call was skipped since it could not be resolved
(!) Function 'main' is not defined in channel environment
(!) Line #3:
??main
(!) Function call was skipped since it could not be resolved
READ 1140
>CHK BUF:
1: 0
6: 0
>SCread 7

I assume I'm missing something, but I don't know where.

Thanks!
-h

#993 Re: Programing » Make code with Notepad++, Gedit, Emacs or Bluefish » 10-Nov-2011 16:39:35

iri wrote:

Yes you could create it (in this folder).
You may restart Notepad++ after

-in which folder?


-h

#994 Re: Programing » Make code with Notepad++, Gedit, Emacs or Bluefish » 10-Nov-2011 15:48:05

I looked for:

- - Highlighting :
Edit the file %AppData%\Notepad++\userDefineLang.xml and add these lines :

on the machine that I installed notepad ++ on but I couldn't find that file anywhere on my machine. Do I create this file?

#995 Re: Programing » Generate a Scol functions list » 9-Nov-2011 20:26:09

does the function list contain the functions, objects, methods etc. for handling the elements in an openspace scene?

#996 Re: Scol » Can I change the location of the "Scol Voyager" file path » 9-Nov-2011 02:45:47

it works, files moved off of c drive. I got rid of the "." in front of the "F" and os3d finds the new partition location at the root of my F drive: smile

F:/Partition_LocalUsr 0

#998 Scol » Can I change the location of the "Scol Voyager" file path » 4-Nov-2011 15:26:46

hebdemnobad
Replies: 8

my c drive is cluttered up and my scol work will only increase as time passes. I'd like to move it to another local drive.
-h

#999 Re: Programing » is there an english translation of Tutoriel Scol_fr.pdf? » 4-Nov-2011 14:04:10

Nodrve thanks for those links.,I'll be able to relate what I'm learning from the scol tutorial .pdf to plugits specifically.

#1000 Re: Programing » Hello World not displaying in console » 2-Nov-2011 20:00:39

thanks iri....now that i think about it i'll play more with openspace so i thoroughly understand the existing plugin system, most importantly the logic and math plugits.
-h

Board footer

Powered by FluxBB