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.
Pages: 1
ok thanks, so there is no way to do the paging by plugin. This is because i need to do a big terrain and it will helpfull.
Hi again, im trying to use terrains on OS3D but i cant find anything about it. OS3D support ogre terrains? and paging? if it dont support it how i can use this link paging terrain ogre on OS3D?
Thanks for all. XD
thanks to all i will try it today.
Hi again, i have finished the pluging to use a database on Openspace and now im making a new one. I want to run a .bat file. I know that exist a plugit called exec but i cant make it work properly. anyone can explain me hoe to make this.
Thanks for all and in a few days i will upload the Mysqlplugin that i made. Sorry my poor english XD
ok thanks i will try XD
Thanks for the quick reply. I have this files for the plugit, they are a test before i create the plugin
cVM3d-sql.pkg
typeof db=SqlDB;;
fun deleteOb(inst)=
0;;
fun cbOpen(inst, from, action, param, reply)=
set db=SqlCreate _channel "basededatos" "root" "";
_DMSevent this (getPluginInstanceEvent inst "value") strbuild SqlRequest db "SELECT nombre FROM prueba where id=1;" nil nil;
SqlDestroy db;
0 ;;
fun newOb(inst)=
PluginRegisterAction inst "Run" @cbOpen;
setPluginInstanceCbDel inst @deleteOb;
0;;
fun IniPlug(file)=
PlugRegister @newOb nil;
setPluginEditor @dynamicedit;
0;;
eVM3d-sql
fun cbCloseEdit(ctrlconsulta)=
let getEdCtrlTextLineValue ctrlconsulta -> consulta in
["consulta" consulta]::
nil;;
fun dynamicedit(winstr, inst, viewstr) =
let [400 50] -> [iw ih] in
(
setEdWindowSize winstr iw ih;
let (getPluginInstanceParam inst "consulta") -> consulta in
let if consulta == nil then "Introducir consulta SQL" else consulta -> consulta in
let crEdCtrlLabel winstr 10 12 160 20 "Consulta" nil -> labelconsulta in
let crEdCtrlTextLine winstr 180 10 200 20 consulta nil EDWIN_RESIZE_MW -> ctrlconsulta in
(
[mkfun1 @cbCloseEdit ctrlconsulta nil];
);
);;
VM3d-sql.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<PLUGIN name="Consulta SQL" version="1.0" type="misc">
<DESCRIPTION>Accede BBDD y realiza consulta</DESCRIPTION>
<HELP>http://www.openspace3d.com/documentation/fr/plugits/misc/openurlplugit.html</HELP>
<RESOURCE></RESOURCE>
<EDITOR>
<SCRIPT path="./eVM3d-sql.pkg" />
<PARAM name="consulta" type="value" />
</EDITOR>
<CLIENT minstance="true">
<SCRIPT path="./cVM3d-sql.pkg" />
<ACTION name="Run" />
<ACTION name="Set Consulta" />
<EVENT name="Value" />
</CLIENT>
</PLUGIN>
and in the MySQL connection ODBC:
Uploaded with ImageShack.us
The conection didnt start and it say that the object is empty.
And we use the wampserver.
Thanks for all and sorry about my poor english XD
Hi to all, im from Spain and im using openspace at work and we are trying to connect to a mysql database and we have somo problems XD.
I have make the plugin using the Scol tutorial pdf and we configure the odbc connection with the mysql odbc connection at the port 3306. When i run the plugin on openspace it didnt work.
Anyone know how to do a connection with a bbdd.
Thanks for all.
Pages: 1